mirror of
https://github.com/gsi-upm/soil
synced 2024-12-22 08:18:13 +00:00
feab0ba79e
The examples weren't being properly tested in the last commit. When we fixed that a lot of bugs in the new implementation of environment and agent were found, which accounts for most of these changes. The main difference is the mechanism to load simulations from a configuration file. For that to work, we had to rework our module loading code in `serialization` and add a `source_file` attribute to configurations (and simulations, for that matter). |
||
---|---|---|
.. | ||
cars_sim.py | ||
README.md |
This example can be run like with command-line options, like this:
python cars.py --level DEBUG -e summary --csv
This will set the CSV
(save the agent and model data to a CSV) and summary
(print the a summary of the data to stdout) exporters, and set the log level to DEBUG.