public class DefaultBDIVisionProcessor extends SimplePropertyObject implements IPerceptProcessor
Modifier and Type | Field and Description |
---|---|
static String |
ADD
The add action.
|
static String |
PROPERTY_MAXRANGE
The maxrange property.
|
static String |
PROPERTY_PERCEPTTYPES
The percept types property.
|
static String |
PROPERTY_RANGE
The maxrange property.
|
static String |
REMOVE
The remove action.
|
static String |
REMOVE_OUTDATED
The remove_outdated action (checks all entries in the belief set, if they should be seen, but are no longer there).
|
static String |
SET
The set action.
|
static String |
UNSET
The unset action (sets a belief fact to null).
|
Constructor and Description |
---|
DefaultBDIVisionProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
processPercept(IEnvironmentSpace space,
String type,
Object percept,
IComponentDescription agent,
ISpaceObject avatar)
Process a new percept.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, hasProperty, setProperty
public static String PROPERTY_PERCEPTTYPES
public static String ADD
public static String REMOVE
public static String REMOVE_OUTDATED
public static String SET
public static String UNSET
public static String PROPERTY_MAXRANGE
public static String PROPERTY_RANGE
public void processPercept(IEnvironmentSpace space, String type, Object percept, IComponentDescription agent, ISpaceObject avatar)
processPercept
in interface IPerceptProcessor
space
- The space.type
- The type.percept
- The percept.agent
- The agent identifier.agent
- The avatar of the agent (if any).Copyright © 2012. All Rights Reserved.