[−][src]Trait vrp_core::construction::heuristics::JobMapReducer
A job collection reducer.
Required methods
fn reduce<'a>(
&'a self,
ctx: &'a InsertionContext,
jobs: Vec<Job>,
map: Box<dyn Fn(&Job) -> InsertionResult + Send + Sync + 'a>
) -> InsertionResult
&'a self,
ctx: &'a InsertionContext,
jobs: Vec<Job>,
map: Box<dyn Fn(&Job) -> InsertionResult + Send + Sync + 'a>
) -> InsertionResult
Reduces job collection into single insertion result
Implementors
impl JobMapReducer for PairJobMapReducer
[src]
fn reduce<'a>(
&'a self,
ctx: &'a InsertionContext,
jobs: Vec<Job>,
map: Box<dyn Fn(&Job) -> InsertionResult + Send + Sync + 'a>
) -> InsertionResult
[src]
&'a self,
ctx: &'a InsertionContext,
jobs: Vec<Job>,
map: Box<dyn Fn(&Job) -> InsertionResult + Send + Sync + 'a>
) -> InsertionResult