Struct vrp_core::solver::search::RecreateWithFarthest
source · pub struct RecreateWithFarthest { /* private fields */ }
Expand description
A recreate method which always insert first the farthest job in empty route and prefers filling non-empty routes first.
Implementations§
Trait Implementations§
source§impl Recreate for RecreateWithFarthest
impl Recreate for RecreateWithFarthest
source§fn run(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext
fn run( &self, refinement_ctx: &RefinementContext, insertion_ctx: InsertionContext ) -> InsertionContext
Recreates a new solution from the given.
Auto Trait Implementations§
impl !RefUnwindSafe for RecreateWithFarthest
impl Send for RecreateWithFarthest
impl Sync for RecreateWithFarthest
impl Unpin for RecreateWithFarthest
impl !UnwindSafe for RecreateWithFarthest
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