|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ai.worlds.Agent ai.worlds.vacuum.VacuumAgent
A generic vacuum agent.
Field Summary | |
java.lang.String |
lastAction
|
Fields inherited from class ai.worlds.Agent |
action, body, percept, score |
Constructor Summary | |
VacuumAgent()
|
Method Summary | |
void |
shutOff()
shut off the vacuum. |
void |
takeAction(Environment e)
take the next action. |
Methods inherited from class ai.worlds.Agent |
determineAction |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String lastAction
Constructor Detail |
public VacuumAgent()
Method Detail |
public void shutOff()
public void takeAction(Environment e)
takeAction
in class Agent
e
- is the environment.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |