Struct vrp_core::solver::objectives::TotalUnassignedJobs
source · [−]pub struct TotalUnassignedJobs { /* private fields */ }Expand description
An objective function which minimizes amount of unassigned jobs as a target.
Implementations
Trait Implementations
sourceimpl Default for TotalUnassignedJobs
impl Default for TotalUnassignedJobs
sourceimpl Objective for TotalUnassignedJobs
impl Objective for TotalUnassignedJobs
type Solution = InsertionContext
type Solution = InsertionContext
The solution value type that we define the objective on.
sourcefn total_order(&self, a: &Self::Solution, b: &Self::Solution) -> Ordering
fn total_order(&self, a: &Self::Solution, b: &Self::Solution) -> Ordering
An objective defines a total ordering between any two solution values. Read more
Auto Trait Implementations
impl !RefUnwindSafe for TotalUnassignedJobs
impl Send for TotalUnassignedJobs
impl Sync for TotalUnassignedJobs
impl Unpin for TotalUnassignedJobs
impl !UnwindSafe for TotalUnassignedJobs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more