|
Maps SDK for C++ 1.0.0
|
Defines the configuration of the optimization and the route. More...


Public Member Functions | |
| ConfigurationParameters ()=default | |
| Default constructor. | |
| ConfigurationParameters (const ConfigurationParameters &)=default | |
| Default copy constructor. | |
| ConfigurationParameters (ConfigurationParameters &&) noexcept=default | |
| Default move constructor. noexcept is deduced. | |
| ConfigurationParameters & | operator= (const ConfigurationParameters &)=default |
| Default copy assignment operator. | |
| ConfigurationParameters & | operator= (ConfigurationParameters &&) noexcept=default |
| Default move assignment operator. | |
| bool | operator== (ConfigurationParameters const ¶ms) const |
| Compares two ConfigurationParameters objects for equality. | |
| bool | operator!= (ConfigurationParameters const ¶ms) const |
| Compares two ConfigurationParameters objects for inequality. | |
| const StringRef | getName () const noexcept |
| Retrieves the name of the optimization/route configuration. | |
| ConfigurationParameters & | setName (const String &name) noexcept |
| Sets the name of the optimization/route configuration. | |
| bool | getIgnoreTimeWindow () const noexcept |
| Checks if time-windows are considered during optimization. | |
| ConfigurationParameters & | setIgnoreTimeWindow (bool ignoreTimeWindow) noexcept |
| Sets whether to ignore time-windows during optimization. | |
| bool | getAllowDroppingOrders () const noexcept |
| Specify if the algorithm is allowed to drop orders in case no solution is found by visiting all of them By default it is false. | |
| ConfigurationParameters & | setAllowDroppingOrders (bool allowDroppingOrders) noexcept |
| Sets whether to allow the algorithm to drop orders, if no solution is found by visiting all of them. | |
| bool | getGroupingOrders () const noexcept |
| Specify if the orders will be grouped. | |
| ConfigurationParameters & | setGroupingOrders (bool groupingOrders) noexcept |
| Sets whether to group orders during optimization. | |
| vrp::EBalanceRoutesOption | getBalancedRoutes () const noexcept |
| Option to balance the routes of an optimization. | |
| ConfigurationParameters & | setBalancedRoutes (vrp::EBalanceRoutesOption balancedRoutes) noexcept |
| Sets the option to balance routes of an optimization . | |
| EOptimizationCriterion | getOptimizationCriterion () const noexcept |
| Retrieves the optimization criterion. | |
| ConfigurationParameters & | setOptimizationCriterion (EOptimizationCriterion criterion) noexcept |
| Sets the optimization criterion. | |
| EArrangeCriterion | getArrangeCriterion () const noexcept |
| Retrieves the arrangement criterion for optimizing time. | |
| ConfigurationParameters & | setArrangeCriterion (EArrangeCriterion criterion) noexcept |
| Sets the arrangement criterion for optimizing time. | |
| EOptimizationQuality | getOptimizationQuality () const noexcept |
| Retrieves the optimization quality setting. | |
| ConfigurationParameters & | setOptimizationQuality (EOptimizationQuality quality) noexcept |
| Sets the optimization quality (solution accuracy). | |
| unsigned int | getMaxSearchTime () const noexcept |
| Retrieves the maximum search time for the optimization algorithm. | |
| ConfigurationParameters & | setMaxSearchTime (unsigned int seconds) noexcept |
| Sets the maximum amount of time the optimization algorithm can search for a solution. | |
| unsigned int | getMaxWaitTime () const noexcept |
| Retrieves the maximum waiting time at an order. | |
| ConfigurationParameters & | setMaxWaitTime (unsigned int seconds) noexcept |
| Sets the maximum waiting time at an order. | |
| ERouteType | getRouteType () const noexcept |
| Retrieves the route type. | |
| ConfigurationParameters & | setRouteType (ERouteType routeType) noexcept |
| Sets the route type. | |
| ERoadRestrictions | getRestrictions () const noexcept |
| Retrieves the road restrictions for distance and time matrix calculations. | |
| ConfigurationParameters & | setRestrictions (ERoadRestrictions restrictions) noexcept |
| Sets the road restrictions for distance and time matrix calculations. | |
| EDistanceUnit | getDistanceUnit () const noexcept |
| Retrieves the unit of distance used in the optimization and routing calculations. | |
| ConfigurationParameters & | setDistanceUnit (EDistanceUnit distanceUnit) noexcept |
| Sets the unit of distance to be used throughout the optimization and routing calculations. | |
| OrdersSequenceMap | getOrderSequenceOptions () const noexcept |
| Gets the OrdersSequenceOptions.These options are used to specify the association between different orders that should be visited in a certain order. | |
| ConfigurationParameters & | setOrderSequenceOptions (const OrdersSequenceMap &ordersSequences) noexcept |
| Sets the OrdersSequenceOptions.These options are used to specify the association between different orders that should be visited in a certain order. | |
Defines the configuration of the optimization and the route.
Implements share-read / copy-on-write Api object over IConfigurationParameters.
|
inlinenoexcept |
Specify if the algorithm is allowed to drop orders in case no solution is found by visiting all of them By default it is false.
|
inlinenoexcept |
Retrieves the arrangement criterion for optimizing time.
|
inlinenoexcept |
Option to balance the routes of an optimization.
|
inlinenoexcept |
Retrieves the unit of distance used in the optimization and routing calculations.
|
inlinenoexcept |
Specify if the orders will be grouped.
If the distance between any two orders is less than 10 meters, those orders will be considered part of the same group.
|
inlinenoexcept |
Checks if time-windows are considered during optimization.
|
inlinenoexcept |
Retrieves the maximum search time for the optimization algorithm.
|
inlinenoexcept |
Retrieves the maximum waiting time at an order.
This is used to determine how long a vehicle can wait at an order to align with the time window for the next order.
|
inlinenoexcept |
Retrieves the name of the optimization/route configuration.
|
inlinenoexcept |
Retrieves the optimization criterion.
|
inlinenoexcept |
Retrieves the optimization quality setting.
|
inlinenoexcept |
Gets the OrdersSequenceOptions.These options are used to specify the association between different orders that should be visited in a certain order.
|
inlinenoexcept |
Retrieves the road restrictions for distance and time matrix calculations.
This is particularly important when real-world conditions such as road types and vehicle capabilities must be considered.
|
inlinenoexcept |
Retrieves the route type.
The route type can influence how routes are generated, whether as round routes, open routes, etc.
|
inline |
Compares two ConfigurationParameters objects for inequality.
| params | The other ConfigurationParameters object to compare with. |
|
defaultnoexcept |
Default move assignment operator.
noexcept is deduced.
|
default |
Default copy assignment operator.
|
inline |
Compares two ConfigurationParameters objects for equality.
| params | The other ConfigurationParameters object to compare with. |
|
inlinenoexcept |
Sets whether to allow the algorithm to drop orders, if no solution is found by visiting all of them.
| allowDroppingOrders | True to allow, false otherwise. |
|
inlinenoexcept |
Sets the arrangement criterion for optimizing time.
| criterion | The arrange criterion as an EArrangeCriterion enum value. |
|
inlinenoexcept |
Sets the option to balance routes of an optimization .
| balancedRoutes | The balance routes option as an EBalanceRoutesOption enum value. (none, by time, by number of orders). |
|
inlinenoexcept |
Sets the unit of distance to be used throughout the optimization and routing calculations.
This affects how distances are reported and calculated.
| distanceUnit | The distance unit as an EDistanceUnit enumeration value. |
|
inlinenoexcept |
Sets whether to group orders during optimization.
| groupingOrders | True, if the distance between any two orders is less than 10 meters, those orders will be considered part of the same group, false to consider them. |
|
inlinenoexcept |
Sets whether to ignore time-windows during optimization.
| ignoreTimeWindow | True to ignore time-windows, false to consider them. |
|
inlinenoexcept |
Sets the maximum amount of time the optimization algorithm can search for a solution.
| seconds | The maximum search time in seconds. |
|
inlinenoexcept |
Sets the maximum waiting time at an order.
This influences the optimization to ensure that waiting at an order does not exceed this time, allowing for better alignment with subsequent order time windows.
| seconds | The maximum wait time in seconds. |
|
inlinenoexcept |
Sets the name of the optimization/route configuration.
| name | The new name for the configuration. |
|
inlinenoexcept |
Sets the optimization criterion.
| criterion | The optimization criterion as an EOptimizationCriterion enum value. |
|
inlinenoexcept |
Sets the optimization quality (solution accuracy).
| quality | The optimization quality as an EOptimizationQuality enum value. |
|
inlinenoexcept |
Sets the OrdersSequenceOptions.These options are used to specify the association between different orders that should be visited in a certain order.
| ordersSequences | A map where each pair contains an enum and a list of lists, where each inner list is a sequence of order ids that is defined by the value of the enum. |
|
inlinenoexcept |
Sets the road restrictions for distance and time matrix calculations.
Allows tailoring the optimization to consider specific road types or restrictions based on vehicle capabilities.
| restrictions | The road restrictions as an ERoadRestrictions enumeration value. |
|
inlinenoexcept |
Sets the route type.
This determines the structure of the routes generated by the optimization process.
| routeType | The route type as an ERouteType enumeration value. |