You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resetting a running environment sends a close_command to the simulation. Then, the ns3 simulator is destroyed, and all ScheduleDestroy events should be handled:
Instead, I expected that all events scheduled with ScheduleDestroy are executed when I reset the environment. It would be a nice feature to execute these events, when I close the environment.
The text was updated successfully, but these errors were encountered:
Resetting a running environment sends a
close_command
to the simulation. Then, the ns3 simulator is destroyed, and allScheduleDestroy
events should be handled:ns3-ai/model/gym-interface/cpp/ns3-ai-gym-interface.cc
Lines 210 to 211 in 7dc5b1b
In parallel, the experiment is runned again, which kills the old environment and interrupts the
ScheduleDestroy
events.ns3-ai/python_utils/ns3ai_utils.py
Lines 147 to 148 in 7dc5b1b
Instead, I expected that all events scheduled with
ScheduleDestroy
are executed when I reset the environment. It would be a nice feature to execute these events, when Iclose
the environment.The text was updated successfully, but these errors were encountered: