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 <[email protected]>: > 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 <[email protected]> 於 2018年12月9日 週日 23:40 寫道: > >> 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 restart the simulation without closing and reopening >> > Traci? >> > >> > I attach my code file. >> > Thank in advance. >> > >> > _______________________________________________ >> > 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 >> > >> >> >> _______________________________________________ >> 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 >> > _______________________________________________ > 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 >
_______________________________________________ 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
