Struct vrp_core::models::solution::Activity [−][src]
Expand description
Represents activity which is needed to be performed.
Fields
place: PlaceSpecifies activity details.
schedule: ScheduleSpecifies activity’s schedule: actual arrival and departure time.
job: Option<Arc<Single>>Specifies job relation. Empty if it has no relation to single job (e.g. tour start or end). If single job is part of multi job, then original job can be received via its dimens.
Implementations
Creates an activity with a job.
Checks whether activity has given job.
Returns job if activity has it.