com.agentfactory.cldc
Class Perceptor

java.lang.Object
  extended by com.agentfactory.cldc.logic.Perceivable
      extended by com.agentfactory.cldc.Perceptor
Direct Known Subclasses:
DualMTSPerceptor, MTSPerceptor, SelfPerceptor

public abstract class Perceptor
extends Perceivable

Application developers extend the perceptor class to enable agents to perceive information related to their state or their environment.

Author:
Conor Muldoon

Constructor Summary
Perceptor(PerceptionManager manager)
          Creates an instance of Perceptor.
 
Method Summary
 void adoptBelief(FOS fos)
          Adds the belief to the agent's current belief set.
 void adoptBelief(java.lang.String string)
          Converts the string to a first order structure and adds the first order structure to the agent's current belief set.
 
Methods inherited from class com.agentfactory.cldc.logic.Perceivable
perceive
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Perceptor

public Perceptor(PerceptionManager manager)
Creates an instance of Perceptor.

Parameters:
manager - the perception manager of the agent.
Method Detail

adoptBelief

public void adoptBelief(FOS fos)
Adds the belief to the agent's current belief set.

Parameters:
fos - the belief to be added.

adoptBelief

public void adoptBelief(java.lang.String string)
Converts the string to a first order structure and adds the first order structure to the agent's current belief set.

Parameters:
string - a string representation of a belief.