You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
soil/examples/rabbits
J. Fernando Sánchez 189836408f Add rescheduling for received 1 year ago
..
README.md WIP 1 year ago
rabbit_improved_sim.py Add rescheduling for received 1 year ago
rabbits_basic_sim.py Add rescheduling for received 1 year ago

README.md

There are two similar implementations of this simulation.

  • basic. Using simple primites
  • improved. Using more advanced features such as the delays to avoid unnecessary computations (i.e., skip steps).

The examples can be run directly in the terminal, and they accept command like arguments. For example, to enable the CSV exporter and the Summary exporter, while setting max_time to 100 and seed to CustomSeed:

python rabbit_agents.py  --set max_time=100 --csv -e summary  --set 'seed="CustomSeed"'

To learn more about how this functionality works, check out the soil.easy function.