|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agentfactory.cldc.Module
public abstract class Module
Modules represent an information space that is shared between actuators and perceptors within an agent.
| Constructor Summary | |
|---|---|
Module(java.lang.Object identifier)
Creates an instance of Module. |
|
| Method Summary | |
|---|---|
abstract FOS |
processAction(int actionID,
FOS data)
Enables agents to perform an action on the module. |
abstract FOS |
processPer(int perceptionID)
Enables the agent to perceive information within the module. |
void |
register(java.util.Hashtable table)
Adds the module to the table using the module ID as the key. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Module(java.lang.Object identifier)
identifier - the ID of the module.| Method Detail |
|---|
public void register(java.util.Hashtable table)
table - the table the module is to be added to.
public abstract FOS processPer(int perceptionID)
throws MalformedLogicException
perceptionID - the ID of the information that is to be perceived.
MalformedLogicException - if there is a logic error.
public abstract FOS processAction(int actionID,
FOS data)
throws MalformedLogicException
actionID - the ID of the action that is to be performed.data - that data that is to be used in performing the action.
MalformedLogicException - if there is a logic error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||