1
0
mirror of https://github.com/gsi-upm/soil synced 2024-09-21 07:41:43 +00:00
soil/examples/events_and_messages
J. Fernando Sánchez feab0ba79e Large set of changes for v0.30
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).
2023-04-14 19:41:24 +02:00
..
cars_sim.py Large set of changes for v0.30 2023-04-14 19:41:24 +02:00
README.md Version 0.30.0rc2 2022-10-18 17:02:12 +02:00

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.