|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcmsc433.p3.MazeSolver
cmsc433.p3.SkippingMazeSolver
cmsc433.p3.STMazeSolverBFS
public class STMazeSolverBFS
A single-threaded breadth-first solver.
| Nested Class Summary | |
|---|---|
class |
STMazeSolverBFS.SolutionNode
|
| Nested classes/interfaces inherited from class cmsc433.p3.SkippingMazeSolver |
|---|
SkippingMazeSolver.SolutionFound |
| Constructor Summary | |
|---|---|
STMazeSolverBFS(Maze maze)
|
|
| Method Summary | |
|---|---|
java.util.List<STMazeSolverBFS.SolutionNode> |
expand(STMazeSolverBFS.SolutionNode node)
Expands a node in the search tree, returning the list of child nodes. |
java.util.List<Direction> |
solve()
Performs a breadth-first search of the maze. |
| Methods inherited from class cmsc433.p3.SkippingMazeSolver |
|---|
firstChoice, follow, followMark, markPath, pathToFullPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STMazeSolverBFS(Maze maze)
| Method Detail |
|---|
public java.util.List<STMazeSolverBFS.SolutionNode> expand(STMazeSolverBFS.SolutionNode node)
throws SkippingMazeSolver.SolutionFound
SolutionFound
SkippingMazeSolver.SolutionFoundpublic java.util.List<Direction> solve()
solve in class MazeSolver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||