C++ Reference
C++ Reference: Routing
RoutingModel::VehicleTypeContainer
Detailed Description
Struct used to sort and store vehicles by their type.
Two vehicles have the same "vehicle type" iff they have the same cost class and start/end nodes.
Classes | |
struct | VehicleClassEntry |
Public Member Functions | |
int | NumTypes () const |
int | Type (int vehicle) const |
Public Attributes | |
std::vector< int > | type_index_of_vehicle |
std::vector< std::set< VehicleClassEntry > > | sorted_vehicle_classes_per_type |
std::vector< std::deque< int > > | vehicles_per_vehicle_class |
Member Function Documentation
◆ NumTypes()
◆ Type()
Member Data Documentation
◆ sorted_vehicle_classes_per_type
std::vector<std::set<VehicleClassEntry> > sorted_vehicle_classes_per_type |
◆ type_index_of_vehicle
◆ vehicles_per_vehicle_class
The documentation for this struct was generated from the following file: