Closed myxie closed 3 years ago
Simulation.run()
now returns a pandas.DataFrame
with simulation results if to_file=False
(default) in the Simulation.__init__
.
This allows for the following structure when running multiple experiments:
global_sim = pd.DataFrame()
for dm in list_of_delay_models:
for planning_algorithm in list_of_algorithms:
for config in list_of_config_files:
simulation = Simulation(.....)
sim, tasks = simulation.run()
global_sim.append(sim)
plot(global_sim)....
```python
See `thesis_experiments` repository for uses of this approach in the jupyter notebook.
…lows for each simulation to be added to a global dataframe when running multiple simulations.