1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-14 07:22:29 +00:00
soil/examples/complete.yml
J. Fernando Sánchez cd62c23cb9 WIP: all tests pass
2022-10-13 22:43:16 +02:00

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