Struct vrp_pragmatic::format::problem::Problem
source · pub struct Problem {
pub plan: Plan,
pub fleet: Fleet,
pub objectives: Option<Vec<Vec<Objective>>>,
}
Expand description
A VRP problem definition.
Fields§
§plan: Plan
Problem plan: customers to serve.
fleet: Fleet
Problem resources: vehicles to be used, routing info.
objectives: Option<Vec<Vec<Objective>>>
Specifies objective function hierarchy.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Problem
impl<'de> Deserialize<'de> for Problem
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PragmaticProblem for Problem
impl PragmaticProblem for Problem
source§fn read_pragmatic(self) -> Result<CoreProblem, MultiFormatError>
fn read_pragmatic(self) -> Result<CoreProblem, MultiFormatError>
Reads problem defined in pragmatic format.
Auto Trait Implementations§
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnwindSafe for Problem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more