Struct vrp_core::solver::mutation::WorstJobRemoval [−][src]
pub struct WorstJobRemoval { /* fields omitted */ }Expand description
A ruin strategy which detects the most cost expensive jobs in each route and delete them with their neighbours.
Implementations
Creates a new instance of WorstJobRemoval.
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.