Skip to main content

solverforge_solver/manager/
mod.rs

1//! High-level solver management with zero-erasure API.
2//!
3//! # Zero-Erasure Design
4//!
5//! All types flow through generics - no Box, Arc, or dyn anywhere.
6//! Runtime configuration from TOML/YAML is handled by the macro layer
7//! which generates concrete types at compile time.
8
9mod builder;
10mod config;
11mod phase_factory;
12mod phase_factory_trait;
13mod solution_manager;
14mod solver_factory;
15mod solver_manager;
16
17#[cfg(test)]
18mod builder_tests;
19#[cfg(test)]
20mod mod_tests;
21#[cfg(test)]
22mod mod_tests_integration;
23
24pub use builder::{SolverBuildError, SolverFactoryBuilder};
25pub use config::{ConstructionType, LocalSearchType, PhaseConfig};
26pub use phase_factory::{
27    ConstructionPhaseFactory, KOptPhase, KOptPhaseBuilder, ListCheapestInsertionPhase,
28    ListClarkeWrightPhase, ListConstructionPhase, ListConstructionPhaseBuilder, ListKOptPhase,
29    ListRegretInsertionPhase, LocalSearchPhaseFactory,
30};
31pub use phase_factory_trait::PhaseFactory;
32pub use solution_manager::{analyze, Analyzable, ConstraintAnalysis, ScoreAnalysis};
33pub use solver_factory::{solver_factory_builder, SolverFactory};
34pub use solver_manager::{Solvable, SolverManager, SolverStatus};