ai.worlds.vacuum
Class RandomVacuumAgent

java.lang.Object
  extended byai.worlds.Agent
      extended byai.worlds.vacuum.VacuumAgent
          extended byai.worlds.vacuum.RandomVacuumAgent

public class RandomVacuumAgent
extends VacuumAgent

A vacuum agent that simply chooses actions at random

Author:
Jill Zimmerman -- jill.zimmerman@goucher.edu

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

RandomVacuumAgent

public RandomVacuumAgent()
Method Detail

determineAction

public void determineAction()
Determine the next action to be performed.

Specified by:
determineAction in class Agent