Struct vrp_core::construction::heuristics::BlinkResultSelector
source · pub struct BlinkResultSelector { /* private fields */ }
Expand description
A result selector strategy inspired by “Slack Induction by String Removals for Vehicle Routing Problems”, Jan Christiaens, Greet Vanden Berghe.
Implementations§
Trait Implementations§
source§impl ResultSelector for BlinkResultSelector
impl ResultSelector for BlinkResultSelector
source§fn select_insertion(
&self,
_: &InsertionContext,
left: InsertionResult,
right: InsertionResult
) -> InsertionResult
fn select_insertion( &self, _: &InsertionContext, left: InsertionResult, right: InsertionResult ) -> InsertionResult
Selects one insertion result from two to promote as best.
source§fn select_cost<'a>(
&self,
left: &'a InsertionCost,
right: &'a InsertionCost
) -> Either<&'a InsertionCost, &'a InsertionCost> ⓘ
fn select_cost<'a>( &self, left: &'a InsertionCost, right: &'a InsertionCost ) -> Either<&'a InsertionCost, &'a InsertionCost> ⓘ
Selects one insertion result from two to promote as best.
Auto Trait Implementations§
impl !RefUnwindSafe for BlinkResultSelector
impl Send for BlinkResultSelector
impl Sync for BlinkResultSelector
impl Unpin for BlinkResultSelector
impl !UnwindSafe for BlinkResultSelector
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