[][src]Struct vrp_core::models::problem::Costs

pub struct Costs {
    pub fixed: f64,
    pub per_distance: f64,
    pub per_driving_time: f64,
    pub per_waiting_time: f64,
    pub per_service_time: f64,
}

Represents operating costs for driver and vehicle.

Fields

fixed: f64

A fixed cost to use an actor.

per_distance: f64

Cost per distance unit.

per_driving_time: f64

Cost per driving time unit.

per_waiting_time: f64

Cost per waiting time unit.

per_service_time: f64

Cost per service time unit.

Trait Implementations

impl Clone for Costs[src]

impl Debug for Costs[src]

impl Eq for Costs[src]

impl Hash for Costs[src]

impl PartialEq<Costs> for Costs[src]

Auto Trait Implementations

impl RefUnwindSafe for Costs

impl Send for Costs

impl Sync for Costs

impl Unpin for Costs

impl UnwindSafe for Costs

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,