pub struct AdjustedStringRemoval { /* private fields */ }Expand description
Adjusted string removal ruin strategy based on “Slack Induction by String Removals for Vehicle Routing Problems” by Jan Christiaens, Greet Vanden Berghe.
Some definitions from the paper:
- string is a sequence of consecutive nodes in a tour.
- cardinality is the number of customers included in a string or tour.
Implementations
Trait Implementations
sourceimpl Default for AdjustedStringRemoval
impl Default for AdjustedStringRemoval
sourceimpl Ruin for AdjustedStringRemoval
impl Ruin for AdjustedStringRemoval
sourcefn 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.
Auto Trait Implementations
impl RefUnwindSafe for AdjustedStringRemoval
impl Send for AdjustedStringRemoval
impl Sync for AdjustedStringRemoval
impl Unpin for AdjustedStringRemoval
impl UnwindSafe for AdjustedStringRemoval
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more