|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagent.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 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Agent()
Method Detail |
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 |