Struct vrp_core::solver::search::WeightedRuin
source · pub struct WeightedRuin { /* private fields */ }
Expand description
Provides the way to pick one ruin from the group ruin methods.
Implementations§
Trait Implementations§
source§impl Ruin for WeightedRuin
impl Ruin for WeightedRuin
source§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.
Auto Trait Implementations§
impl !RefUnwindSafe for WeightedRuin
impl Send for WeightedRuin
impl Sync for WeightedRuin
impl Unpin for WeightedRuin
impl !UnwindSafe for WeightedRuin
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more