Struct vrp_core::solver::mutation::RandomJobRemoval [−][src]
pub struct RandomJobRemoval { /* fields omitted */ }Expand description
A ruin strategy which removes random jobs from solution.
Implementations
Creates a new instance of RandomJobRemoval.
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.