Struct vrp_core::solver::mutation::RecreateWithRegret [−][src]
pub struct RecreateWithRegret { /* fields omitted */ }Expand description
A recreate strategy which computes the difference in cost of inserting customer in its
best and kth best route, where k is a user-defined parameter. Then it inserts the
customer with the max difference in its least cost position.
Implementations
Trait Implementations
impl Default for RecreateWithRegret[src]
impl Default for RecreateWithRegret[src]impl Recreate for RecreateWithRegret[src]
impl Recreate for RecreateWithRegret[src]fn run(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext[src]
fn run(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext[src]Recreates a new solution from the given.
Auto Trait Implementations
impl !RefUnwindSafe for RecreateWithRegret
impl Send for RecreateWithRegret
impl Sync for RecreateWithRegret
impl Unpin for RecreateWithRegret
impl !UnwindSafe for RecreateWithRegret
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>,