ai.worlds.wumpus
Class RandomWumpusAgent

java.lang.Object
  extended byai.worlds.Agent
      extended byai.worlds.wumpus.WumpusAgent
          extended byai.worlds.wumpus.RandomWumpusAgent

public class RandomWumpusAgent
extends WumpusAgent

A wumpus agent that takes actions randomly.

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

Field Summary
 
Fields inherited from class ai.worlds.wumpus.WumpusAgent
logic
 
Fields inherited from class ai.worlds.Agent
action, body, percept, score
 
Constructor Summary
RandomWumpusAgent()
           
 
Method Summary
 void determineAction()
          Determines the next action to be taken by the agent.
 
Methods inherited from class ai.worlds.wumpus.WumpusAgent
climb, shoot, takeAction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomWumpusAgent

public RandomWumpusAgent()
Method Detail

determineAction

public void determineAction()
Determines the next action to be taken by the agent. The action is stored as a string in the field 'action'.

Specified by:
determineAction in class Agent