Hi Joerg,

Am 21.11.2016 um 10:09 schrieb Joerg Schweizer:
> Hi Micheal,
> thanks for the answer. But then, how can I generate route alternatives?
> The rou.alt.xml file produced only 1 alternative per trip, but there are 
> 2? Or putting it differently, how can I make duarouter do the following:
> 
> 1. generate k best route alternatives for each trip
>    (I thought the --max-alternatives k would do this)
> 
> 2. assign a probability to each route with logit, lose,...

We usually achieve this by using the duaiterate.py script
http://sumo.dlr.de/wiki/Tools/Assign#dua-iterate.py. It adds one
alternative route per vehicle and router run (if it finds one which is
currently shorter/faster). Different routes are generated because after
every routing a simulation is started which produces edge weights used
in the next routing iteration.

Best regards,
Michael


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to