Skip to main content

get_route

Function get_route 

Source
pub fn get_route<S>(plan: &S, entity_idx: usize) -> Vec<usize>
where S: VrpSolution,
Expand description

Returns a cloned snapshot of the route for entity entity_idx.

Callers must pass a valid entity_idx for the current solution.