C++ Reference: routing_types

Note: This documentation is automatically generated.



Defining common types used in the routing library outside the main RoutingModel class has several purposes: 1) It allows some small libraries to avoid a dependency on routing.{h,cc}, eg. routing_neighborhoods.h. 2) It allows an easier wrapping via SWIG, which can have issues with intra-class types.

Users that depend on routing.{h,cc} should just use the RoutingModel:: equivalent, eg. RoutingModel::NodeIndex.
Function Type Arguments Comments
DEFINE_INT_TYPE

Arguments: RoutingNodeIndex, int

DEFINE_INT_TYPE

Arguments: RoutingCostClassIndex, int

DEFINE_INT_TYPE

Arguments: RoutingDimensionIndex, int

DEFINE_INT_TYPE

Arguments: RoutingDisjunctionIndex, int

DEFINE_INT_TYPE

Arguments: RoutingVehicleClassIndex, int