1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! # Labirust
//!
//! This crate is a small and naive implementation of several [`Algorithm`]s resolving [`Maze`]s.
//!
//! * It exposes the [`Algorithm`] trait encapsulating the behavior of such an algorithm.
//! * It also provides structures to generate [`Maze`] ([`generate`]) and execute said algorithms on them ([`Executor`]).
//!

mod algorithm;
mod executor;
pub mod implementations;
mod labyrinth;
mod position;

pub use algorithm::Algorithm;
pub use executor::{Context, Executor, Guess, Insight};
pub use labyrinth::{
    generator::{MazeGenerator, SimpleGenerator},
    Maze,
};
pub use position::Pos;