[][src]Trait vrp_core::solver::mutation::LocalSearch

pub trait LocalSearch {
    fn explore(
        &self,
        refinement_ctx: &RefinementContext,
        insertion_ctx: &InsertionContext
    ) -> Option<InsertionContext>; }

Specifies behavior of a local search operator.

Required methods

fn explore(
    &self,
    refinement_ctx: &RefinementContext,
    insertion_ctx: &InsertionContext
) -> Option<InsertionContext>

Applies local search operator to passed solution in order to explore possible small move in solution space which leads to a different solution.

Loading content...

Implementors

impl LocalSearch for CompositeLocalSearch[src]

impl LocalSearch for ExchangeInterRouteBest[src]

impl LocalSearch for ExchangeInterRouteRandom[src]

impl LocalSearch for ExchangeIntraRouteRandom[src]

Loading content...