![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
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.
#include <routing.h>
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 |
|
inline |
|
inline |
| std::vector<std::set<VehicleClassEntry> > operations_research::RoutingModel::VehicleTypeContainer::sorted_vehicle_classes_per_type |
| std::vector<int> operations_research::RoutingModel::VehicleTypeContainer::type_index_of_vehicle |
| std::vector<std::deque<int> > operations_research::RoutingModel::VehicleTypeContainer::vehicles_per_vehicle_class |