Struct vrp_core::construction::heuristics::AllJobSelector
source · pub struct AllJobSelector {}
Expand description
Returns a list of all jobs to be inserted.
Trait Implementations§
source§impl Default for AllJobSelector
impl Default for AllJobSelector
source§fn default() -> AllJobSelector
fn default() -> AllJobSelector
Returns the “default value” for a type. Read more
source§impl JobSelector for AllJobSelector
impl JobSelector for AllJobSelector
source§fn prepare(&self, insertion_ctx: &mut InsertionContext)
fn prepare(&self, insertion_ctx: &mut InsertionContext)
This method is called before select. It allows to apply some changes on mutable context
before immutable borrowing could happen within select method.
Default implementation simply shuffles jobs in required collection.
Auto Trait Implementations§
impl RefUnwindSafe for AllJobSelector
impl Send for AllJobSelector
impl Sync for AllJobSelector
impl Unpin for AllJobSelector
impl UnwindSafe for AllJobSelector
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