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/complete.yml

62 lines
1.3 KiB
YAML

---
version: '2'
name: simple
group: tests
dir_path: "/tmp/"
num_trials: 3
max_steps: 100
interval: 1
seed: "CompleteSeed!"
model_class: Environment
model_params:
am_i_complete: true
topologies:
default:
params:
generator: complete_graph
n: 10
another_graph:
params:
generator: complete_graph
n: 2
environment:
agents:
agent_class: CounterModel
topology: default
state:
times: 1
# In this group we are not specifying any topology
fixed:
- name: 'Environment Agent 1'
agent_class: BaseAgent
group: environment
topology: null
hidden: true
state:
times: 10
- agent_class: CounterModel
id: 0
group: other_counters
topology: another_graph
state:
times: 1
total: 0
- agent_class: CounterModel
topology: another_graph
group: other_counters
id: 1
distribution:
- agent_class: CounterModel
weight: 1
group: general_counters
state:
times: 3
- agent_class: AggregatedCounter
weight: 0.2
override:
- filter:
agent_class: AggregatedCounter
n: 2
state:
times: 5