As Micha already said, you can call traci.load() to reload the simulation
from traci.
Am Mo., 10. Dez. 2018 um 06:12 Uhr schrieb iCashWave :
> Hi,
> The sumo-gui has a 'reload' button.
>
> However, I use non gui sumo, and I do not want to use 'traci.colse()' to
> reopen sumo.
>
> How can I do wit
Hi,
The sumo-gui has a 'reload' button.
However, I use non gui sumo, and I do not want to use 'traci.colse()' to
reopen sumo.
How can I do with traci to 'reload' simulation?
Michael Behrisch 於 2018年12月9日 週日 23:40 寫道:
> Hi,
> please have a look at traci.load:
> http://sumo.dlr.de/pydoc/traci.ht
Hi,
please have a look at traci.load:
http://sumo.dlr.de/pydoc/traci.html#-load
Best regards,
Michael
Am 08.12.18 um 09:23 schrieb iCashWave:
> Hi,
> I use GA package to optimize traffiic signal.
> Each simulation should be started from an identical start point(Time=0).
> Is there a way to restar
Hi,
I use GA package to optimize traffiic signal.
Each simulation should be started from an identical start point(Time=0).
Is there a way to restart the simulation without closing and reopening
Traci?
I attach my code file.
Thank in advance.
import os, sys
import traci
from pyevolve import G1DList