Struct vrp_core::solver::mutation::RandomJobRemoval [−][src]
pub struct RandomJobRemoval { /* fields omitted */ }Expand description
A ruin strategy which removes random jobs from solution.
Implementations
impl RandomJobRemoval[src]
impl RandomJobRemoval[src]pub fn new(limits: RuinLimits) -> Self[src]
pub fn new(limits: RuinLimits) -> Self[src]Creates a new instance of RandomJobRemoval.
Trait Implementations
impl Default for RandomJobRemoval[src]
impl Default for RandomJobRemoval[src]impl Ruin for RandomJobRemoval[src]
impl Ruin for RandomJobRemoval[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 RandomJobRemoval
impl Send for RandomJobRemoval
impl Sync for RandomJobRemoval
impl Unpin for RandomJobRemoval
impl UnwindSafe for RandomJobRemoval
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>,