[][src]Struct vrp_core::models::Problem

pub struct Problem {
    pub fleet: Arc<Fleet>,
    pub jobs: Arc<Jobs>,
    pub locks: Vec<Arc<Lock>>,
    pub constraint: Arc<ConstraintPipeline>,
    pub activity: Arc<dyn ActivityCost + Send + Sync>,
    pub transport: Arc<dyn TransportCost + Send + Sync>,
    pub objective: Arc<ObjectiveCost>,
    pub extras: Arc<Extras>,
}

Defines VRP problem.

Fields

fleet: Arc<Fleet>

Specifies used fleet.

jobs: Arc<Jobs>

Specifies all jobs.

locks: Vec<Arc<Lock>>

Specifies jobs which preassigned to specific vehicles and/or drivers.

constraint: Arc<ConstraintPipeline>

Specifies constraints pipeline.

activity: Arc<dyn ActivityCost + Send + Sync>

Specifies activity costs.

transport: Arc<dyn TransportCost + Send + Sync>

Specifies transport costs.

objective: Arc<ObjectiveCost>

Specifies an objective costs..

extras: Arc<Extras>

Specifies index for storing extra parameters of arbitrary type.

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

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