Struct vrp_core::solver::objectives::TotalRoutes [−][src]
pub struct TotalRoutes { /* fields omitted */ }Expand description
An objective function which controls total amount of routes.
Implementations
impl TotalRoutes[src]
impl TotalRoutes[src]pub fn new_minimized() -> Self[src]
pub fn new_minimized() -> Self[src]Creates an instance of TotalRoutes with fleet minimization as a target.
pub fn new_maximized() -> Self[src]
pub fn new_maximized() -> Self[src]Creates an instance of TotalRoutes with fleet maximization as a target.
Trait Implementations
impl Default for TotalRoutes[src]
impl Default for TotalRoutes[src]impl Objective for TotalRoutes[src]
impl Objective for TotalRoutes[src]type Solution = InsertionContext
type Solution = InsertionContextThe solution value type that we define the objective on.
fn total_order(&self, a: &Self::Solution, b: &Self::Solution) -> Ordering[src]
fn total_order(&self, a: &Self::Solution, b: &Self::Solution) -> Ordering[src]An objective defines a total ordering between any two solution values. Read more
Auto Trait Implementations
impl RefUnwindSafe for TotalRoutes
impl Send for TotalRoutes
impl Sync for TotalRoutes
impl Unpin for TotalRoutes
impl UnwindSafe for TotalRoutes
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,