jadex.micro.examples.hunterprey
Class MicroPreyVisionProcessor
java.lang.Object
jadex.commons.SimplePropertyObject
jadex.micro.examples.hunterprey.MicroPreyVisionProcessor
- All Implemented Interfaces:
- IPerceptProcessor, IPropertyObject
public class MicroPreyVisionProcessor
- extends SimplePropertyObject
- implements IPerceptProcessor
Dumb prey vision processer.
Updates the agent's "nearest_food" belief.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MicroPreyVisionProcessor
public MicroPreyVisionProcessor()
processPercept
public void processPercept(IEnvironmentSpace space,
String type,
Object percept,
IComponentIdentifier agent,
ISpaceObject avatar)
- Process a new percept.
- Specified by:
processPercept in interface IPerceptProcessor
- Parameters:
space - The space.type - The type.percept - The percept.agent - The agent identifier.agent - The avatar of the agent (if any).
Copyright © 2010. All Rights Reserved.