Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Reset Simulation

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 herunterladen


From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Χρήστος Σπαθάρης <spath1234@xxxxxxxxxxx>
Sent: Friday, November 9, 2018 7:56:18 PM
To: sumo-user@xxxxxxxxxxx
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.

Back to the top