Struct vrp_core::solver::mutation::AdjustedStringRemoval [−][src]
pub struct AdjustedStringRemoval { /* fields omitted */ }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
impl Default for AdjustedStringRemoval[src]
impl Default for AdjustedStringRemoval[src]impl Ruin for AdjustedStringRemoval[src]
impl Ruin for AdjustedStringRemoval[src]fn run(
&self,
_refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext[src]
fn run(
&self,
_refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,