Specifies whether alternative routes are computed, and parameters for the algorithm determining suitable alternatives.
More...
|
|
float | share_factor = 0.6f |
| | Maximum fraction of the route that alternatives may share with the optimal route. The default value of 0.6 means alternatives can share up to 60% of path segments with the optimal route.
|
| |
|
int | target_count = 2 |
| | Target number of alternative routes to compute. Service returns up to this number of routes that fulfill the share-factor and weight-factor constraints.
|
| |
|
float | weight_factor = 1.4f |
| | Maximum factor by which route weight may diverge from the optimal route. The default value of 1.4 means alternatives can be up to 1.4 times longer (costly) than the optimal route.
|
| |
Specifies whether alternative routes are computed, and parameters for the algorithm determining suitable alternatives.