C++ Reference
C++ Reference: Routing
RoutingModel::RouteDimensionTravelInfo
Detailed Description
Contains the information needed by the solver to optimize a dimension's cumuls with travel-start dependent transit values.
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< 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. 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 |
Member Data Documentation
◆ transition_info
| std::vector<TransitionInfo> transition_info |
◆ travel_cost_coefficient
| int64_t travel_cost_coefficient |
The documentation for this struct was generated from the following file: