Uses of Class
cmsc433.p3.Position

Uses of Position in cmsc433.p3
 

Fields in cmsc433.p3 declared as Position
 Position Choice.at
          The position of the choice point.
 Position SkippingMazeSolver.SolutionFound.pos
           
 

Methods in cmsc433.p3 that return Position
 Position Maze.getEnd()
          Returns the position corresponding to the exit of the maze.
 Position Maze.getStart()
          Returns the position corresponding to the entrance of the maze.
 Position Position.move(Direction dir)
          Generates a new position that is the result of moving from this position in direction "dir."
 

Methods in cmsc433.p3 with parameters of type Position
 boolean Maze.canMove(Position pos, Direction dir)
          Returns true if it is possible to move in direction @dir when at position @pos.
 Choice SkippingMazeSolver.firstChoice(Position pos)
          Returns the first choice point reached from the given position.
 Choice SkippingMazeSolver.follow(Position at, Direction dir)
          Follows a path until a choice point.
 Choice SkippingMazeSolver.followMark(Position at, Direction dir, int color)
          Follows a path until a choice point.
 int Maze.getCell(Position pos)
          Returns the integer at the given position.
 int Maze.getColor(Position pos)
          Gets the color of the cell at position 'pos'.
 int Maze.getColor(Position pos, Direction dir)
          Gets the color of the edge in direction 'dir' at position 'pos'.
 java.util.LinkedList<Direction> Maze.getMoves(Position pos)
          Returns the list of open directions at this position.
 void Maze.setColor(Position pos, Direction dir, int color)
          Sets the color of the edge in direction 'dir' at position 'pos' to the specified value, which must be between 0 and 3 inclusive.
 void Maze.setColor(Position pos, int color)
          Sets the color of the cell at position 'pos' to the specified value, which must be between 0 and 3 inclusive.
 java.util.LinkedList<Direction> STMazeSolverRec.solve(Position p)
           
 

Constructors in cmsc433.p3 with parameters of type Position
SkippingMazeSolver.SolutionFound(Position pos, Direction from)