Trait vrp_core::solver::mutation::LocalOperator [−][src]
pub trait LocalOperator {
fn explore(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: &InsertionContext
) -> Option<InsertionContext>;
}Expand description
Specifies behavior of a local search operator.
Required methods
fn explore(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: &InsertionContext
) -> Option<InsertionContext>
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.