solverforge_cvrp/lib.rs
1/* CVRP domain helpers for SolverForge.
2
3Provides `ProblemData`, `MatrixDistanceMeter`, `MatrixIntraDistanceMeter`,
4the `VrpSolution` trait, and route hook functions for Clarke-Wright and k-opt
5construction phases.
6*/
7
8mod helpers;
9mod meters;
10mod problem_data;
11mod solution;
12
13pub use helpers::{depot_for_entity, get_route, replace_route, route_distance, route_feasible};
14pub use meters::{MatrixDistanceMeter, MatrixIntraDistanceMeter};
15pub use problem_data::ProblemData;
16pub use solution::VrpSolution;
17
18#[cfg(test)]
19mod tests;