|
Maps SDK for C++ 1.0.0
|
Defines an available break window for a vehicle during a route. More...

Public Member Functions | |
| bool | operator== (const VRPAvailableBreak &other) const |
| Equality comparison operator. | |
Public Attributes | |
| std::vector< std::pair< int, int > > | timeWindows |
| Time windows during which the break can occur (in minutes from midnight). | |
| int | duration |
| Duration of the break in seconds. | |
Defines an available break window for a vehicle during a route.
Specifies one or more time windows during which a break may be scheduled, along with the required break duration. The optimizer will select the most suitable time window based on the route constraints.
Example usage:
|
inline |
Equality comparison operator.
Checks if two VRPAvailableBreak objects are equal.
| other | The VRPAvailableBreak to compare against. |
| int gem::vrp::VRPAvailableBreak::duration |
Duration of the break in seconds.
For example, a value of 1800 represents a 30-minute break.
| std::vector<std::pair<int, int> > gem::vrp::VRPAvailableBreak::timeWindows |
Time windows during which the break can occur (in minutes from midnight).
Each pair represents a [start, end] interval. The optimizer will pick the most feasible window from this list.