jadex.extension.envsupport.environment.IPerceptProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-kernel-extension-envsupport Show documentation
Show all versions of jadex-kernel-extension-envsupport Show documentation
The Jadex kernel extension envsupport allows for using 2D spaces in concert with components.
package jadex.extension.envsupport.environment;
import jadex.bridge.service.types.cms.IComponentDescription;
import jadex.commons.IPropertyObject;
/**
* Interface for percept processors.
* A percept processor is responsible to process the
* percepts generated by percept generators and feed the
* percept into the component (e.g. into its beliefs).
*/
public interface IPerceptProcessor extends IPropertyObject
{
/**
* Process a new percept.
* @param space The space.
* @param type The type.
* @param percept The percept.
* @param component The component identifier.
* @param component The avatar of the component (if any).
*/
public void processPercept(IEnvironmentSpace space, String type, Object percept, IComponentDescription component, ISpaceObject avatar);
}