Skip to main content

solverforge_solver/scope/
mod.rs

1/* Scope hierarchy for solver execution.
2
3Scopes maintain state at different levels of the solving process:
4- [`SolverScope`]: Top-level, holds working solution and best solution
5- [`PhaseScope`]: Per-phase state
6- [`StepScope`]: Per-step state within a phase
7*/
8
9mod phase;
10mod solver;
11mod step;
12
13pub use phase::PhaseScope;
14pub use solver::{BestSolutionCallback, SolverScope};
15pub use step::StepScope;
16
17#[cfg(test)]
18mod tests;