leistungsnachweis-cas
 All Classes Functions Variables Friends
Public Member Functions | List of all members
RecursiveBacktracker Class Reference

Public Member Functions

int initMaze ()
 
Cellbacktracking (Cell *c)
 
void drawMaze ()
 
int startMaze ()
 
double testMethod ()
 

Member Function Documentation

Cell * RecursiveBacktracker::backtracking ( Cell n)

removes the wall between the two cells and marks the new cell as visited. this continues until a cell that has no unvisited neighbours is reached

void RecursiveBacktracker::drawMaze ( )

Created by Anja Wimmer on 27.04.18. Quelle: (https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker)print maze to terminal

int RecursiveBacktracker::initMaze ( )

large grid of cells, each cell starting with four walls

Returns

The documentation for this class was generated from the following files: