random.seed(42) makes the (pseudo)-randomness behave the same way every
time you call the script. The number 42 is (almost [1]) arbitrary. See
https://docs.python.org/2/library/random.html#random.seed
regards,
Jakob
[1] http://en.wikipedia.org/wiki/42_%28number%29
2014-06-28 19:42 GMT+02:00
Hello,
you can run duarouter to turn the trips into routes and set the option
--ignore-errors. This will filter out all the invalid trips so sumo can
then run without errors. The script randomTrips.py will do this
automatically when run with option --route-file yourRoutes.xml.
Or you can run sumo
Hello,
in the latest development version there are new options for retrieving and
setting edge probabilities for specific edges.
See http://sumo-sim.org/wiki/ChangeLog#Enhancements
http://sumo-sim.org/wiki/Tools/Trip#customized_weights
If you are using v 0.21.0 can simply replace your version of
Thanks! I will have a look.
I also partially solved my problem using matrices and duarouter.
Best
Marc
Le 30 juin 2014 à 12:27, Jakob Erdmann namdre.s...@googlemail.com a écrit :
Hello,
in the latest development version there are new options for retrieving and
setting edge probabilities