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: f64A fixed cost to use an actor.
per_distance: f64Cost per distance unit.
per_driving_time: f64Cost per driving time unit.
per_waiting_time: f64Cost per waiting time unit.
per_service_time: f64Cost per service time unit.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Costs
impl UnwindSafe for Costs
Blanket Implementations
Mutably borrows from an owned value. Read more