Expand description
Problem domain models.
Structs§
- Represents an actor: abstraction over vehicle and driver.
- Represents an actor detail: exact start/end location and operating time.
- Represents operating costs for driver and vehicle.
- Represents a driver, person who drives a
Vehicle
. Reserved for future usage, e.g., to allow reusing the same vehicle more than once at different times. - Represents driver detail (reserved for future use).
- Specifies job permutation generator which allows only fixed set of permutations.
- Represents available resources to serve jobs.
- Stores all jobs taking into account their neighborhood.
- Contains matrix routing data for specific profile and, optionally, time.
- Represents a job which consists of multiple sub jobs. All of these jobs must be performed or none of them. Order can be controlled via specific dimension value.
- Provides a way to build a Multi job using the builder pattern.
- Represents a job place details where and/or when work has to be performed.
- An actor independent activity costs.
- A simple implementation of transport costs around a single matrix. This implementation is used to support examples and simple use cases.
- Represents a job which should be performed once but actual place/time might vary.
- Provides a way to build a Single job using the builder pattern.
- Represents a vehicle.
- Provides a way to build a Vehicle.
- Represents a vehicle detail (vehicle shift).
- Provides a way to build VehicleDetail.
- Specifies a vehicle place.
Enums§
- Represents a job variant.
- Specifies travel time type.
Traits§
- Provides the way to get cost information for specific activities done by specific actor.
- Extends Dimensions within a new JobIdDimension.
- Defines a trait to work with multi job’s permutations. Essentially, it specifies valid combinations of sub-jobs inside multi-job.
- Provides the way to get routing information for specific locations and actor.
- A fallback for transport costs if from->to entry is not defined.
- Extends Dimensions within a new VehicleIdDimension.
Functions§
- Creates time agnostic or time aware routing costs based on matrix data passed. Panics at runtime if given route path is not present in matrix data.
- Creates time agnostic or time aware routing costs based on matrix data passed using a fallback function for unknown route.
- Returns job locations.