|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcmsc433.p3.MazeSolver
cmsc433.p3.STMazeSolverRec
public class STMazeSolverRec
A single-threaded depth-first solver.
| Constructor Summary | |
|---|---|
STMazeSolverRec(Maze maze)
|
|
| Method Summary | |
|---|---|
java.util.List<Direction> |
solve()
Solve the maze and return the solution. |
java.util.LinkedList<Direction> |
solve(Position p)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STMazeSolverRec(Maze maze)
| Method Detail |
|---|
public java.util.LinkedList<Direction> solve(Position p)
public java.util.List<Direction> solve()
MazeSolver
solve in class MazeSolver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||