Struct vrp_core::solver::objectives::TotalDistance
source · [−]pub struct TotalDistance;Expand description
An objective function for total distance minimization as a target.
Implementations
sourceimpl TotalDistance
impl TotalDistance
sourcepub fn minimize() -> TargetObjective
pub fn minimize() -> TargetObjective
Creates an objective to minimize total distance.
Auto Trait Implementations
impl RefUnwindSafe for TotalDistance
impl Send for TotalDistance
impl Sync for TotalDistance
impl Unpin for TotalDistance
impl UnwindSafe for TotalDistance
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