Expand description
Problem domain models.
Structs§
- Actor
- Represents an actor: abstraction over vehicle and driver.
- Actor
Detail - Represents an actor detail: exact start/end location and operating time.
- Costs
- Represents operating costs for driver and vehicle.
- Driver
- 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. - Driver
Detail - Represents driver detail (reserved for future use).
- Fixed
JobPermutation - Specifies job permutation generator which allows only fixed set of permutations.
- Fleet
- Represents available resources to serve jobs.
- JobPlace
Builder - Provides a way to build a Place used internally by Single job.
- Jobs
- Stores all jobs taking into account their neighborhood.
- Matrix
Data - Contains matrix routing data for specific profile and, optionally, time.
- Multi
- 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.
- Multi
Builder - Provides a way to build a Multi job using the builder pattern.
- Place
- Represents a job place details where and/or when work has to be performed.
- Simple
Activity Cost - An actor independent activity costs.
- Simple
Transport Cost - A simple implementation of transport costs around a single matrix. This implementation is used to support examples and simple use cases.
- Single
- Represents a job which should be performed once but actual place/time might vary.
- Single
Builder - Provides a way to build a Single job using the builder pattern.
- Vehicle
- Represents a vehicle.
- Vehicle
Builder - Provides a way to build a Vehicle.
- Vehicle
Detail - Represents a vehicle detail (vehicle shift).
- Vehicle
Detail Builder - Provides a way to build VehicleDetail.
- Vehicle
Place - Specifies a vehicle place.
Enums§
- Job
- Represents a job variant.
- Travel
Time - Specifies a travel time type.
Traits§
- Activity
Cost - Provides the way to get cost information for specific activities done by specific actor.
- JobId
Dimension - Extends Dimensions within a new JobIdDimension.
- JobPermutation
- Defines a trait to work with multi job’s permutations. Essentially, it specifies valid combinations of sub-jobs inside multi-job.
- Transport
Cost - Provides the way to get routing information for specific locations and actor.
- Transport
Fallback - A fallback for transport costs if from->to entry is not defined.
- Vehicle
IdDimension - Extends Dimensions within a new VehicleIdDimension.
Functions§
- create_
matrix_ transport_ cost - 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.
- create_
matrix_ transport_ cost_ with_ fallback - Creates time agnostic or time aware routing costs based on matrix data passed using a fallback function for unknown route.
- get_
job_ locations - Returns job locations.