Thank you very much.
This was really helpful.
Από: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> εκ μέρους του Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Στάλθηκε: Κυριακή, 11 Νοεμβρίου 2018 10:09 πμ
Προς: Sumo project User discussions
Θέμα: Re: [sumo-user] Reset Simulation
Also, you may find the command traci.load() useful. to restart a simulation.
e.g.
Hi. Do you mean to start and end simulation automaticaly so you can run it over and over again? If that is what you mean, I did so by including in the config file the simulation node, like this:
<simulation>
<start value = "1" />
<quit-on-end value = "1"/>
</simulation>
Hope it helps. Good luck!
Hi everybody,
I'm trying to use SUMOPython API to create a machine learning environment.
In order my algorithm to start learning I need to run many episodes of the simulation.
So my question is if there is any command that forces the environment to start over when a new episode begins.
Thanks in advance.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
|