[−][src]Trait vrp_core::construction::heuristics::RouteSelector
On each insertion step, selects a list of routes where jobs can be inserted. It is up to implementation to decide whether list consists of all possible routes or just some subset.
Required methods
fn select<'a>(
&'a self,
ctx: &'a InsertionContext,
job: &'a Job
) -> Box<dyn Iterator<Item = RouteContext> + 'a>
&'a self,
ctx: &'a InsertionContext,
job: &'a Job
) -> Box<dyn Iterator<Item = RouteContext> + 'a>
Returns routes for job insertion.
Implementors
impl RouteSelector for AllRouteSelector
[src]
fn select<'a>(
&'a self,
ctx: &'a InsertionContext,
_job: &'a Job
) -> Box<dyn Iterator<Item = RouteContext> + 'a>
[src]
&'a self,
ctx: &'a InsertionContext,
_job: &'a Job
) -> Box<dyn Iterator<Item = RouteContext> + 'a>