On each call, duarouter only finds one route.
In order to collect alternatives, duarouter must be called repeatedly with
previous alternatives as input and the fastest route should vary between
calls.
- you can use the rou.alt.xml output as input to maintain the previously
found routes
- you can use option weights.random-factor to vary the fastest route

Alternatively, you can use marouter to find multiple routes with a single
call (either with a large number of input vehicles or with option
--paths.penalty)


Am Do., 27. Mai 2021 um 16:05 Uhr schrieb rony gracious <[email protected]
>:

> When I try to create alternate routes file using duarouter I am only
> getting one route in the distribution even though there are other alternate
> routes possible, Only one route with probability 1.0 is formed. Why are
> other routes not getting formed in route distribution?
> duarouter -n network0.xml -r trips.xml -o Routes.Rou.xml -a vtypes.add.xml
> --ignore-errors --alternatives-output Routes.Rou.alt.xml
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to