|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object agent.Agent
public abstract class Agent
An abstract software agent class. The agent must be managed by the Environment class, which calls its see() and selectAction() methods.
Constructor Summary | |
---|---|
Agent()
|
Method Summary | |
---|---|
abstract java.lang.String |
getId()
Return a unique string that identifies the agent. |
abstract void |
see(Percept p)
Provide a Percept to the agent. |
abstract Action |
selectAction()
Have the agent select its next action to perform. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Agent()
Method Detail |
---|
public abstract java.lang.String getId()
public abstract void see(Percept p)
public abstract Action selectAction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |