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