Struct vrp_core::models::problem::Costs [−][src]
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,
}Expand description
Represents operating costs for driver and vehicle.
Fields
fixed: f64Expand description
A fixed cost to use an actor.
per_distance: f64Expand description
Cost per distance unit.
per_driving_time: f64Expand description
Cost per driving time unit.
per_waiting_time: f64Expand description
Cost per waiting time unit.
per_service_time: f64Expand description
Cost per service time unit.
Trait Implementations
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> 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<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,