mirror of
https://github.com/gsi-upm/soil
synced 2024-11-14 07:22:29 +00:00
af9a392a93
All tests pass but some features are still missing/unclear: - Mesa agents do not have a `state`, so their "metrics" don't get stored. I will probably refactor this to remove some magic in this regard. This should get rid of the `_state` dictionary and the setitem/getitem magic. - Simulation is still different from a runner. So far only Agent and Environment/Model have been updated.
24 lines
386 B
YAML
24 lines
386 B
YAML
---
|
|
load_module: rabbit_agents
|
|
name: rabbits_example
|
|
max_time: 200
|
|
interval: 1
|
|
seed: MySeed
|
|
agent_type: RabbitModel
|
|
environment_agents:
|
|
- agent_type: RandomAccident
|
|
environment_params:
|
|
prob_death: 0.001
|
|
default_state:
|
|
mating_prob: 0.01
|
|
topology:
|
|
nodes:
|
|
- id: 1
|
|
state:
|
|
gender: female
|
|
- id: 0
|
|
state:
|
|
gender: male
|
|
directed: true
|
|
links: []
|