com.agentfactory.cldc
Class SelfPerceptor

java.lang.Object
  extended by com.agentfactory.cldc.logic.Perceivable
      extended by com.agentfactory.cldc.Perceptor
          extended by com.agentfactory.cldc.SelfPerceptor

public class SelfPerceptor
extends Perceptor

The perceptor enables an agent to adopt a belief regarding its name. The belief adopted is of the form name(?n). The variable ?n represents the name of the agent.

Author:
Conor Muldoon

Constructor Summary
SelfPerceptor(PerceptionManager manager)
          Creates a new instance of SelfPerceptor.
 
Method Summary
 void perceive()
          The perceive method provides the imperative functionality for perceiving and is called by the agent in its control process.
 
Methods inherited from class com.agentfactory.cldc.Perceptor
adoptBelief, adoptBelief
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfPerceptor

public SelfPerceptor(PerceptionManager manager)
Creates a new instance of SelfPerceptor.

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

perceive

public void perceive()
Description copied from class: Perceivable
The perceive method provides the imperative functionality for perceiving and is called by the agent in its control process.

Specified by:
perceive in class Perceivable