Struct vrp_core::solver::objectives::MinimizeArrivalTime
source · [−]pub struct MinimizeArrivalTime {}Expand description
An objective function which prefers solution with less total arrival time.
Trait Implementations
sourceimpl Default for MinimizeArrivalTime
impl Default for MinimizeArrivalTime
sourcefn default() -> MinimizeArrivalTime
fn default() -> MinimizeArrivalTime
Returns the “default value” for a type. Read more
sourceimpl Objective for MinimizeArrivalTime
impl Objective for MinimizeArrivalTime
type Solution = InsertionContext
type Solution = InsertionContext
The solution value type that we define the objective on.
sourcefn fitness(&self, solution: &Self::Solution) -> f64
fn fitness(&self, solution: &Self::Solution) -> f64
An objective fitness value for given solution.
Auto Trait Implementations
impl RefUnwindSafe for MinimizeArrivalTime
impl Send for MinimizeArrivalTime
impl Sync for MinimizeArrivalTime
impl Unpin for MinimizeArrivalTime
impl UnwindSafe for MinimizeArrivalTime
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