[][src]Struct vrp_core::models::Solution

pub struct Solution {
    pub registry: Registry,
    pub routes: Vec<Route>,
    pub unassigned: Vec<(Job, i32)>,
    pub extras: Arc<Extras>,
}

Represents a VRP solution.

Fields

registry: Registry

Actor's registry.

routes: Vec<Route>

List of assigned routes.

unassigned: Vec<(Job, i32)>

List of unassigned jobs within reason code.

extras: Arc<Extras>

Specifies index for storing extra data of arbitrary type.

Auto Trait Implementations

impl !RefUnwindSafe for Solution

impl Send for Solution

impl Sync for Solution

impl Unpin for Solution

impl !UnwindSafe for Solution

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, 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>,