Structs§
- Matrix
Distance Meter - Matrix
Intra Distance Meter - Problem
Data - Immutable problem data shared by all vehicles.
Traits§
- VrpSolution
- Trait implemented by a planning solution that holds a fleet of vehicles,
each carrying a
*const ProblemDatapointer and a list of visited stops.
Functions§
- capacity
- depot_
for_ cw - depot_
for_ entity - distance
- Distance between two element indices using the first vehicle’s data pointer.
- element_
load - get_
route - Returns a cloned snapshot of the route for entity
entity_idx. - is_
kopt_ feasible - K-opt feasibility gate: returns
trueif the route satisfies all time-window constraints. Theentity_idxparameter is ignored — time windows are uniform across vehicles. - is_
time_ feasible - Returns
trueif the route satisfies all time-window constraints. - replace_
route - Replaces the current route for entity
entity_idx.