Maze Builder Docs 7.5.6
Loading...
Searching...
No Matches
mazes::algo_interface Class Referenceabstract

Interface for runnable algorithms. More...

#include <algo_interface.h>

Inheritance diagram for mazes::algo_interface:
[legend]

Public Member Functions

virtual bool run (grid_interface *g, randomizer &rng) const noexcept=0
 Interface method that algorithms must implement.
 

Detailed Description

Interface for runnable algorithms.

Helps enforce the strategy design pattern

Member Function Documentation

◆ run()

virtual bool mazes::algo_interface::run ( grid_interface * g,
randomizer & rng ) const
pure virtualnoexcept

Interface method that algorithms must implement.

Parameters
g
rng
Returns

Implemented in mazes::binary_tree, mazes::dfs, mazes::objectify, mazes::pixels, mazes::sidewinder, mazes::stringify, and mazes::wavefront_object_helper.


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