Thank you very much.

This was really helpful.
________________________________
Από: [email protected] <[email protected]> εκ μέρους 
του Jakob Erdmann <[email protected]>
Στάλθηκε: Κυριακή, 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.
traci.load<http://www.sumo.dlr.de/daily/pydoc/traci.html#-load>(['-c', 
'run.sumocfg'])

Am Sa., 10. Nov. 2018 um 21:05 Uhr schrieb Thais Araújo 
<[email protected]<mailto:[email protected]>>:
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!

Outlook for Android<https://aka.ms/ghei36> herunterladen

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf 
of Χρήστος Σπαθάρης <[email protected]<mailto:[email protected]>>
Sent: Friday, November 9, 2018 7:56:18 PM
To: [email protected]<mailto:[email protected]>
Subject: [sumo-user] Reset Simulation

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
[email protected]<mailto:[email protected]>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to