|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectai.worlds.Agent
ai.worlds.vacuum.VacuumAgent
ai.worlds.vacuum.RandomVacuumAgent
A vacuum agent that simply chooses actions at random
| Field Summary |
| Fields inherited from class ai.worlds.vacuum.VacuumAgent |
lastAction |
| Fields inherited from class ai.worlds.Agent |
action, body, percept, score |
| Constructor Summary | |
RandomVacuumAgent()
|
|
| Method Summary | |
void |
determineAction()
Determine the next action to be performed. |
| Methods inherited from class ai.worlds.vacuum.VacuumAgent |
shutOff, takeAction |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RandomVacuumAgent()
| Method Detail |
public void determineAction()
determineAction in class Agent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||