C++ Reference

C++ Reference: Routing

RoutingModel::RouteDimensionTravelInfo::TransitionInfo

Detailed Description

Contains the information for a single transition on the route.

Definition at line 1347 of file routing.h.

Classes

struct  PiecewiseLinearFormulation
 The following struct defines a piecewise linear formulation, with int64_t values for the "anchor" x and y values, and potential double values for the slope of each linear function. More...
 

Public Member Functions

std::string DebugString (std::string line_prefix="") const
 

Public Attributes

PiecewiseLinearFormulation travel_start_dependent_travel
 Models the (real) travel value Tᵣ, for this transition based on the departure value of the travel. More...
 
PiecewiseLinearFormulation travel_compression_cost
 travel_compression_cost models the cost of the difference between the (real) travel value Tᵣ given by travel_start_dependent_travel and the compressed travel value considered in the scheduling. More...
 
int64_t pre_travel_transit_value
 The parts of the transit which occur pre/post travel between the nodes. More...
 
int64_t post_travel_transit_value
 
int64_t compressed_travel_value_lower_bound
 The hard lower bound of the compressed travel value that will be enforced by the scheduling module. More...
 
int64_t travel_value_upper_bound
 The hard upper bound of the (real) travel value Tᵣ (see above). More...
 

Member Function Documentation

◆ DebugString()

std::string DebugString ( std::string  line_prefix = "") const

Member Data Documentation

◆ compressed_travel_value_lower_bound

int64_t compressed_travel_value_lower_bound

The hard lower bound of the compressed travel value that will be enforced by the scheduling module.

Definition at line 1382 of file routing.h.

◆ post_travel_transit_value

int64_t post_travel_transit_value

Definition at line 1378 of file routing.h.

◆ pre_travel_transit_value

int64_t pre_travel_transit_value

The parts of the transit which occur pre/post travel between the nodes.

The total transit between the two nodes i and j is = pre_travel_transit_value + travel(i, j) + post_travel_transit_value.

Definition at line 1377 of file routing.h.

◆ travel_compression_cost

PiecewiseLinearFormulation travel_compression_cost

travel_compression_cost models the cost of the difference between the (real) travel value Tᵣ given by travel_start_dependent_travel and the compressed travel value considered in the scheduling.

Definition at line 1372 of file routing.h.

◆ travel_start_dependent_travel

PiecewiseLinearFormulation travel_start_dependent_travel

Models the (real) travel value Tᵣ, for this transition based on the departure value of the travel.

Definition at line 1367 of file routing.h.

◆ travel_value_upper_bound

int64_t travel_value_upper_bound

The hard upper bound of the (real) travel value Tᵣ (see above).

This value should be chosen so as to prevent the overall cost of the model (dimension costs + travel_compression_cost) to overflow.

Definition at line 1388 of file routing.h.


The documentation for this struct was generated from the following file: