extracted executor into its own module
This commit is contained in:
parent
d9e2d5b05c
commit
2aee831e67
6 changed files with 163 additions and 166 deletions
|
@ -1,9 +1,6 @@
|
|||
use std::collections::{HashSet, VecDeque};
|
||||
|
||||
use crate::{
|
||||
algorithm::{Context, Guess, Insight},
|
||||
Algorithm, Pos,
|
||||
};
|
||||
use crate::{Algorithm, Context, Guess, Insight, Pos};
|
||||
|
||||
/// [`Algorithm`] traversing the [`crate::Maze`] as a common graph.
|
||||
/// Storing each possible paths form shortest to longest and extending the shortest ones first.
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
use std::collections::HashSet;
|
||||
|
||||
use crate::{
|
||||
algorithm::{Context, Guess, Insight},
|
||||
Algorithm, Pos,
|
||||
};
|
||||
use crate::{Algorithm, Context, Guess, Insight, Pos};
|
||||
|
||||
/// Frame of the stack used by a [`DepthFirst`] to retain its path and possible branches.
|
||||
pub struct Frame {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue