Trait vrp_core::models::common::Load [−][src]
Represents a load type used to represent customer’s demand or vehicle’s load.
Required methods
fn is_not_empty(&self) -> bool
[src]
Returns true if it represents an empty load.
fn max_load(self, other: Self) -> Self
[src]
Returns max load value.
fn can_fit(&self, other: &Self) -> bool
[src]
Returns true if other
can be loaded into existing capacity.
fn ratio(&self, other: &Self) -> f64
[src]
Returns ratio.