Module problem

Source
Expand description

Problem domain models.

Structs§

Actor
Represents an actor: abstraction over vehicle and driver.
ActorDetail
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.
DriverDetail
Represents driver detail (reserved for future use).
FixedJobPermutation
Specifies job permutation generator which allows only fixed set of permutations.
Fleet
Represents available resources to serve jobs.
JobPlaceBuilder
Provides a way to build a Place used internally by Single job.
Jobs
Stores all jobs taking into account their neighborhood.
MatrixData
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.
MultiBuilder
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.
SimpleActivityCost
An actor independent activity costs.
SimpleTransportCost
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.
SingleBuilder
Provides a way to build a Single job using the builder pattern.
Vehicle
Represents a vehicle.
VehicleBuilder
Provides a way to build a Vehicle.
VehicleDetail
Represents a vehicle detail (vehicle shift).
VehicleDetailBuilder
Provides a way to build VehicleDetail.
VehiclePlace
Specifies a vehicle place.

Enums§

Job
Represents a job variant.
TravelTime
Specifies a travel time type.

Traits§

ActivityCost
Provides the way to get cost information for specific activities done by specific actor.
JobIdDimension
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.
TransportCost
Provides the way to get routing information for specific locations and actor.
TransportFallback
A fallback for transport costs if from->to entry is not defined.
VehicleIdDimension
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.