Trait LocalOperator

Source
pub trait LocalOperator: Send + Sync {
    // Required method
    fn explore(
        &self,
        refinement_ctx: &RefinementContext,
        insertion_ctx: &InsertionContext,
    ) -> Option<InsertionContext>;
}
Expand description

Specifies behavior of a local search operator.

Required Methods§

Source

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.

Implementors§