Struct vrp_core::construction::heuristics::NoiseResultSelector
source · pub struct NoiseResultSelector { /* private fields */ }
Expand description
Selects results with noise.
Implementations§
Trait Implementations§
source§impl ResultSelector for NoiseResultSelector
impl ResultSelector for NoiseResultSelector
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 NoiseResultSelector
impl Send for NoiseResultSelector
impl Sync for NoiseResultSelector
impl Unpin for NoiseResultSelector
impl !UnwindSafe for NoiseResultSelector
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