[][src]Trait vrp_core::construction::heuristics::JobMapReducer

pub trait JobMapReducer {
    fn reduce<'a>(
        &'a self,
        ctx: &'a InsertionContext,
        jobs: Vec<Job>,
        map: Box<dyn Fn(&Job) -> InsertionResult + Send + Sync + 'a>
    ) -> InsertionResult; }

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

Reduces job collection into single insertion result

Loading content...

Implementors

impl JobMapReducer for PairJobMapReducer[src]

Loading content...