Struct vrp_core::solver::mutation::NeighbourRemoval [−][src]
pub struct NeighbourRemoval { /* fields omitted */ }Expand description
A ruin strategy which removes jobs in neighbourhood of randomly selected job (inclusive).
Implementations
Creates a new instance of NeighbourRemoval.
Trait Implementations
fn run(
&self,
_refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext
fn run(
&self,
_refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext
Ruins given solution and returns a new one with less jobs assigned.