jadex.micro.examples.hunterprey
Class MicroPreyVisionProcessor

java.lang.Object
  extended by jadex.commons.SimplePropertyObject
      extended by 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.


Field Summary
 
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
 
Constructor Summary
MicroPreyVisionProcessor()
           
 
Method Summary
 void processPercept(IEnvironmentSpace space, java.lang.String type, java.lang.Object percept, IComponentIdentifier agent, ISpaceObject avatar)
          Process a new percept.
 
Methods inherited from class jadex.commons.SimplePropertyObject
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
 

Constructor Detail

MicroPreyVisionProcessor

public MicroPreyVisionProcessor()
Method Detail

processPercept

public void processPercept(IEnvironmentSpace space,
                           java.lang.String type,
                           java.lang.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.