Maze Builder Docs 6.7.5
|
Interface for runnable algorithms. More...
#include <algo_interface.h>
Public Member Functions | |
virtual bool | run (std::unique_ptr< grid_interface > const &g, randomizer &rng) const noexcept=0 |
Interface method that algorithms must implement. | |
Interface for runnable algorithms.
Uses the strategy design pattern
|
pure virtualnoexcept |
Interface method that algorithms must implement.
g | |
rng |
Implemented in mazes::binary_tree, mazes::dfs, mazes::objectify, mazes::pixels, mazes::sidewinder, and mazes::stringify.