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

pub trait JobSelector {
    fn select<'a>(
        &'a self,
        ctx: &'a mut InsertionContext
    ) -> Box<dyn Iterator<Item = Job> + 'a>; }

On each insertion step, selects a list of jobs to be inserted. It is up to implementation to decide whether list consists of all jobs or just some subset.

Required methods

fn select<'a>(
    &'a self,
    ctx: &'a mut InsertionContext
) -> Box<dyn Iterator<Item = Job> + 'a>
[src]

Returns a portion of all jobs.

Loading content...

Implementors

impl JobSelector for AllJobSelector[src]

Loading content...