Module vrp_core::construction::enablers
source · Expand description
This module contains feature extension functionality which can be used to work with the same aspects from different features.
Re-exports
pub use self::multi_trip::*;
Modules
- Provides a skeleton to model multi trip functionality. It uses concept of marker job to reset some constraint limitations once the marker job’s activity is visited.
Structs
- A concrete implementation of
JobContextTransition
which allows to use lambdas. - Provides way to calculate activity costs which might contain reserved time.
- Provides way to calculate transport costs which might contain reserved time.
- Provides a basic implementation of route intervals functionality.
- A no-op implementation of
RouteIntervals
. - Represent a reserved time span entity.
- Represent a reserved time window entity.
- Contains state keys ids used by route schedule updating logic.
Traits
- Defines how jobs are moved in solution context. Index of original affected route context is passed.
- This trait defines a logic to split route into logical intervals by marker jobs.
Functions
- Tries to move forward route’s departure time.
- Calculates a travel info from prev to next directly.
- Calculates delta in distance and duration for target activity in given activity context.
- Returns intervals between vehicle terminal and marker job activities.
- Process conditional jobs: promotes them between ignored/required collections.
- Tries to move backward route’s departure time.
- Updates route departure to the new one.
- Updates route schedule data.
Type Aliases
- Specifies reserved time index type.