Hi Theo,

Yes it is possible, see 
https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#route_distributions.

Regards,
Giuliana
Von: [email protected] <[email protected]> Im Auftrag 
von Theophile Cabannes
Gesendet: Montag, 9. November 2020 13:39
An: [email protected]
Betreff: [sumo-user] Use predefined routes in route distribution

Hi,

I would like to use route distribution using routes that have been already 
defined in the route file. Is this possible?
I was thinking about writting something like:
 <routes>
   <route id="route_0" edges="beg middle end rend" />
   <route id="route_1" edges="beg middle2 end rend" />
   <vehicle id="0" type="type1" depart="0">
      <routeDistribution>
        <route id="route_0" probability="0.1" />
        <route id="route_1" probability="0.9" />
      </routeDistribution>
</routes>
Would that work?

Thank you a lot!
Theo
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to