1
0
mirror of https://github.com/gsi-upm/soil synced 2024-09-21 07:41:43 +00:00
soil/examples/complete.yml

67 lines
1.4 KiB
YAML
Raw Normal View History

---
2022-09-13 16:16:31 +00:00
version: '2'
2022-05-10 14:29:06 +00:00
general:
2022-09-13 16:16:31 +00:00
id: simple
2022-05-10 14:29:06 +00:00
group: tests
dir_path: "/tmp/"
num_trials: 3
max_time: 100
interval: 1
seed: "CompleteSeed!"
2022-09-13 16:16:31 +00:00
topologies:
default:
params:
generator: complete_graph
n: 10
another_graph:
params:
generator: complete_graph
n: 2
2022-05-10 14:29:06 +00:00
environment:
environment_class: Environment
params:
am_i_complete: true
agents:
2022-09-15 17:27:17 +00:00
# Agents are split several groups, each with its own definition
2022-09-13 16:16:31 +00:00
default: # This is a special group. Its values will be used as default values for the rest of the groups
2022-05-10 14:29:06 +00:00
agent_class: CounterModel
2022-09-13 16:16:31 +00:00
topology: default
state:
2022-05-10 14:29:06 +00:00
times: 1
environment:
2022-09-13 16:16:31 +00:00
# In this group we are not specifying any topology
2022-10-06 13:49:10 +00:00
topology: False
2022-05-10 14:29:06 +00:00
fixed:
2022-09-15 17:27:17 +00:00
- name: 'Environment Agent 1'
2022-05-10 14:29:06 +00:00
agent_class: CounterModel
state:
times: 10
2022-09-13 16:16:31 +00:00
general_counters:
topology: default
2022-05-10 14:29:06 +00:00
distribution:
- agent_class: CounterModel
weight: 1
state:
2022-09-13 16:16:31 +00:00
times: 3
2022-05-10 14:29:06 +00:00
- agent_class: AggregatedCounter
weight: 0.2
2022-09-15 17:27:17 +00:00
override:
- filter:
agent_class: AggregatedCounter
n: 2
state:
times: 5
2022-09-13 16:16:31 +00:00
other_counters:
topology: another_graph
fixed:
- agent_class: CounterModel
id: 0
state:
times: 1
total: 0
- agent_class: CounterModel
id: 1
# If not specified, it will use the state set in the default
# state: