mirror of
https://github.com/gsi-upm/soil
synced 2024-11-22 03:02:28 +00:00
d9947c2c52
Documentation needs some improvement The API has been simplified to only allow for ONE topology per NetworkEnvironment. This covers the main use case, and simplifies the code.
50 lines
936 B
YAML
50 lines
936 B
YAML
---
|
|
version: '2'
|
|
name: simple
|
|
group: tests
|
|
dir_path: "/tmp/"
|
|
num_trials: 3
|
|
max_time: 100
|
|
interval: 1
|
|
seed: "CompleteSeed!"
|
|
model_class: Environment
|
|
model_params:
|
|
topology:
|
|
params:
|
|
generator: complete_graph
|
|
n: 4
|
|
agents:
|
|
agent_class: CounterModel
|
|
state:
|
|
group: network
|
|
times: 1
|
|
topology: true
|
|
distribution:
|
|
- agent_class: CounterModel
|
|
weight: 0.25
|
|
state:
|
|
state_id: 0
|
|
times: 1
|
|
- agent_class: AggregatedCounter
|
|
weight: 0.5
|
|
state:
|
|
times: 2
|
|
override:
|
|
- filter:
|
|
node_id: 1
|
|
state:
|
|
name: 'Node 1'
|
|
- filter:
|
|
node_id: 2
|
|
state:
|
|
name: 'Node 2'
|
|
fixed:
|
|
- agent_class: BaseAgent
|
|
hidden: true
|
|
topology: false
|
|
state:
|
|
name: 'Environment Agent 1'
|
|
times: 10
|
|
group: environment
|
|
am_i_complete: true
|