OR-Tools  9.6
RoutingModel::RouteDimensionTravelInfo

Detailed Description

Contains the information needed by the solver to optimize a dimension's cumuls with travel-start dependent transit values.

Definition at line 1345 of file routing.h.

Classes

struct  TransitionInfo
 Contains the information for a single transition on the route. More...
 

Public Member Functions

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

Public Attributes

std::vector< TransitionInfotransition_info
 For each node #i on the route, transition_info[i] contains the relevant information for the travel between nodes #i and #(i + 1) on the route. More...
 
int64_t travel_cost_coefficient
 The cost per unit of travel for this vehicle. More...
 

Member Function Documentation

◆ DebugString()

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

Definition at line 102 of file routing.cc.

Member Data Documentation

◆ transition_info

std::vector<TransitionInfo> transition_info

For each node #i on the route, transition_info[i] contains the relevant information for the travel between nodes #i and #(i + 1) on the route.

Definition at line 1395 of file routing.h.

◆ travel_cost_coefficient

int64_t travel_cost_coefficient

The cost per unit of travel for this vehicle.

Definition at line 1397 of file routing.h.


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