1
0
mirror of https://github.com/gsi-upm/soil synced 2024-09-21 15:51:43 +00:00
soil/examples/rabbits/improved/rabbits.yml

43 lines
832 B
YAML
Raw Normal View History

2022-10-13 20:43:16 +00:00
---
version: '2'
name: rabbits_improved
num_trials: 1
seed: MySeed
description: null
group: null
interval: 1.0
max_time: 100
2022-10-17 17:29:39 +00:00
model_class: rabbit_agents.RabbitEnv
2022-10-13 20:43:16 +00:00
model_params:
agents:
topology: true
2022-10-13 20:43:16 +00:00
distribution:
- agent_class: rabbit_agents.Male
weight: 1
- agent_class: rabbit_agents.Female
weight: 1
fixed:
- agent_class: rabbit_agents.RandomAccident
topology: false
2022-10-13 20:43:16 +00:00
hidden: true
state:
group: environment
state:
group: network
mating_prob: 0.1
prob_death: 0.001
topology:
fixed:
directed: true
links: []
nodes:
- id: 1
- id: 0
2022-10-17 17:29:39 +00:00
model_reporters:
num_males: 'num_males'
num_females: 'num_females'
num_rabbits: |
py:lambda env: env.num_males + env.num_females
2022-10-13 20:43:16 +00:00
extra:
visualization_params: {}