|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmaze.filler.MazeFiller
maze.filler.MazeFillerRetry
A MazeFiller which treats each collision as a branch node
| Field Summary |
| Fields inherited from class maze.filler.MazeFiller |
branch, theOpenEnds, theRNG |
| Constructor Summary | |
MazeFillerRetry()
Constructs a new MazeFillerRetry. |
|
MazeFillerRetry(PushPop p)
Constructs a new MazeFillerRetry with the given PushPop; either a Stack or a Queue. |
|
MazeFillerRetry(PushPop p,
double b)
Constructs a new MazeFillerRetry with the given PushPop (either a Stack or a Queue) and a given branching factor between 0.0 and 1.0. |
|
| Method Summary | |
void |
finish(Maze m)
Finishes the maze filling process. |
void |
start(Maze m)
Starts filling the maze with Cells. |
| Methods inherited from class maze.filler.MazeFiller |
branch, next, straight |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MazeFillerRetry()
public MazeFillerRetry(PushPop p)
p - PushPop to use, either Stack or Queue.
public MazeFillerRetry(PushPop p,
double b)
p - PushPop to use, either Stack or Queue.b - double branching factor between 0.0 and 1.0.| Method Detail |
public void start(Maze m)
start in class MazeFillerm - The Maze to fill.public void finish(Maze m)
finish in class MazeFillerm - The Maze to fill.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||