ai.worlds.wumpus
Class LogicTestingAgent

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

public class LogicTestingAgent
extends WumpusAgent

A wumpus agent which can be used to test your knowledge base.

Author:
Jim Segedy

Field Summary
 
Fields inherited from class ai.worlds.wumpus.WumpusAgent
logic
 
Fields inherited from class ai.worlds.Agent
action, body, percept, score
 
Constructor Summary
LogicTestingAgent()
           
 
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

LogicTestingAgent

public LogicTestingAgent()
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