Expand description
Modules§
- implementations
- Implementations
Structs§
- Context
- A context given to the
Algorithmon everyprogresscall, provide informations about the maze and method to create aGuess. - Executor
- A structure holding a
Mazeand iteratively solving it with a providedAlgorithm. - Guess
- A guess to pass to the current
Executorat the end of everyprogresscall. - Insight
- An insight given to the
Algorithmon everyprogresscall. On the first time about the starting point and every consecutive call about the tail of the previous guess. - Maze
- Data structure representing a maze on a grid.
stores each possible paths as a
HashMapmapping each positions to the accessible adjascent ones. - Pos
- A discrete position on a 2D-grid.
- Simple
Generator - Most common maze generation technique, recursively creating paths to unvisited cells, each time choosing next direction at random.
Traits§
- Algorithm
- Trait encapsulating the behavior of an algorithm solving mazes.
Implementing this trait is done by providing a
progressmethod which gets called iteratively on each steps of a [Maze] resolution. - Maze
Generator - Trait encapsulating the behavior of a type capable to create mazes.