C++ Reference
C++ Reference: Routing
TypeRegulationsChecker::TypePolicyOccurrence
Detailed Description
Public Attributes | |
int | num_type_added_to_vehicle = 0 |
Number of TYPE_ADDED_TO_VEHICLE and TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED node type policies seen on the route. More... | |
int | num_type_removed_from_vehicle = 0 |
Number of ADDED_TYPE_REMOVED_FROM_VEHICLE (effectively removing a type from the route) and TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED node type policies seen on the route. More... | |
int | position_of_last_type_on_vehicle_up_to_visit = -1 |
Position of the last node of policy TYPE_ON_VEHICLE_UP_TO_VISIT visited on the route. More... | |
Member Data Documentation
◆ num_type_added_to_vehicle
int num_type_added_to_vehicle = 0 |
◆ num_type_removed_from_vehicle
int num_type_removed_from_vehicle = 0 |
Number of ADDED_TYPE_REMOVED_FROM_VEHICLE (effectively removing a type from the route) and TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED node type policies seen on the route.
This number is always <= num_type_added_to_vehicle, as a type is only actually removed if it was on the route before.
◆ position_of_last_type_on_vehicle_up_to_visit
int position_of_last_type_on_vehicle_up_to_visit = -1 |
The documentation for this struct was generated from the following file: