Package jadex.micro.examples.hunterprey
Class MicroPreyVisionProcessor
- java.lang.Object
-
- jadex.commons.SimplePropertyObject
-
- jadex.micro.examples.hunterprey.MicroPreyVisionProcessor
-
- All Implemented Interfaces:
IPropertyObject
,IPerceptProcessor
public class MicroPreyVisionProcessor extends SimplePropertyObject implements IPerceptProcessor
Dumb prey vision processer. Updates the agent's "nearest_food" belief.
-
-
Field Summary
-
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
-
-
Constructor Summary
Constructors Constructor Description MicroPreyVisionProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processPercept(IEnvironmentSpace space, java.lang.String type, java.lang.Object percept, IComponentDescription agent, ISpaceObject avatar)
Process a new percept.-
Methods inherited from class jadex.commons.SimplePropertyObject
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
-
-
-
-
Method Detail
-
processPercept
public void processPercept(IEnvironmentSpace space, java.lang.String type, java.lang.Object percept, IComponentDescription agent, ISpaceObject avatar)
Process a new percept.- Specified by:
processPercept
in interfaceIPerceptProcessor
- Parameters:
space
- The space.type
- The type.percept
- The percept.agent
- The agent identifier.agent
- The avatar of the agent (if any).
-
-