Struct grote_opdracht::model::Segment [] [src]

pub struct Segment {
    pub orders: Vec<u32>,
    pub duration: Time,
    pub volume: i32,
}

Part of a route, starting and ending at DUMP_LOCATION.

Fields

The IDs of the orders scheduled in this segment.

The total duration of the segment. This includes the dumping time.

The total hauled volume at the end of the segment. In a valid solution this should always be less than or equal to CAPACITY.

Methods

impl Segment
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Segment
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Segment
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Segment
[src]

[src]

Returns the "default value" for a type. Read more