Uses of Class
ai.worlds.Location

Packages that use Location
ai.worlds   
ai.worlds.wumpus   
 

Uses of Location in ai.worlds
 

Fields in ai.worlds declared as Location
 Location Obj.loc
          The location of the object.
 Location Obj.heading
          The heading of the object.
static Location GridEnvironment.LEFT
           
static Location GridEnvironment.RIGHT
           
static Location GridEnvironment.UP
           
static Location GridEnvironment.DOWN
           
 Location GridEnvironment.size
          The size of the grid.
 Location GridEnvironment.start
          The starting location.
 

Methods in ai.worlds that return Location
 Location Location.forward(Location heading)
           
 

Methods in ai.worlds with parameters of type Location
 Location Location.forward(Location heading)
           
 boolean Location.equals(Location loc)
          Determine if location equals given location
 void GridEnvironment.removeObj(Location loc, Obj ob)
          Remove object from grid.
 void GridEnvironment.addObj(Location loc, Obj ob)
          Add an object to the grid.
 void GridEnvironment.fillLoc(Location loc, java.lang.Class c)
           
 boolean GridEnvironment.neighbor(Location loc, java.lang.Class c)
          Determine whether a class object is in a neighboring cell.
 void GridEnvironment.GridCanvas.updateHere(Location oldloc, Location newloc, java.awt.Graphics g)
           
 

Uses of Location in ai.worlds.wumpus
 

Fields in ai.worlds.wumpus declared as Location
 Location WumpusLogic.agentloc
          The agents location.
 Location WumpusLogic.size
          The size of the world.
 

Methods in ai.worlds.wumpus that return Location
 Location WumpusWorldEditor.pixelsToLoc(int x, int y)
           
abstract  Location WumpusLogic.closestMove(java.util.Vector moves)
          Find the closest move from a list.
abstract  Location WumpusLogic.nextMove()
          Determine the next location the agent will visit.
 Location DefaultWumpusLogic.closestMove(java.util.Vector moves)
          Find the closest move from a list.
 Location DefaultWumpusLogic.nextMove()
          Determine the next location the agent will visit.
 

Methods in ai.worlds.wumpus with parameters of type Location
 void WumpusWorldEditor.addObj(Location loc, Obj ob)
           
 void WumpusWorldEditor.fillLoc(Location loc, java.lang.Class c)
           
 void WumpusWorldEditor.removeObj(Location loc, Obj ob)
           
abstract  java.util.Vector WumpusLogic.pathTo(Location loc, Location heading)
          Determine the sequence of actions which will take the agent to the given location.
 int WumpusLogic.distance(Location loc1, Location loc2)
          Determine block distance between two locations.
 java.util.Vector DefaultWumpusLogic.pathTo(Location loc, Location heading)
          Determine the sequence of actions which will take the agent to the given location.
 

Constructors in ai.worlds.wumpus with parameters of type Location
WumpusLogic.PathProblemState(Location l, Location h)
           
Wumpus(Location location)
           
Pit(Location location)
           
Gold(Location location)