Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Use predefined routes in route distribution

Thank you a lot, then I will try that!

On Mon, Nov 9, 2020 at 3:05 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Yes. That should work.



Am Mo., 9. Nov. 2020 um 13:39 Uhr schrieb Theophile Cabannes <cabannes@xxxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top