mirror of
https://github.com/gsi-upm/soil
synced 2024-11-25 12:22:28 +00:00
7d1c800490
* Graphs are not saved by default (not backwards compatible) * Modified newsspread examples * More granular options to save results (exporting to CSV and GEXF are now optional) * Updated tutorial to include exporting options * Removed references from environment to simulation * Added parallelism to simulations (can be turned off with a flag or argument).
139 lines
2.3 KiB
YAML
139 lines
2.3 KiB
YAML
---
|
|
default_state: {}
|
|
load_module: newsspread
|
|
environment_agents: []
|
|
environment_params:
|
|
prob_neighbor_spread: 0.0
|
|
prob_tv_spread: 0.01
|
|
interval: 1
|
|
max_time: 30
|
|
name: Sim_all_dumb
|
|
network_agents:
|
|
- agent_type: DumbViewer
|
|
state:
|
|
has_tv: false
|
|
weight: 1
|
|
- agent_type: DumbViewer
|
|
state:
|
|
has_tv: true
|
|
weight: 1
|
|
network_params:
|
|
generator: barabasi_albert_graph
|
|
n: 500
|
|
m: 5
|
|
num_trials: 50
|
|
---
|
|
default_state: {}
|
|
load_module: newsspread
|
|
environment_agents: []
|
|
environment_params:
|
|
prob_neighbor_spread: 0.0
|
|
prob_tv_spread: 0.01
|
|
interval: 1
|
|
max_time: 30
|
|
name: Sim_half_herd
|
|
network_agents:
|
|
- agent_type: DumbViewer
|
|
state:
|
|
has_tv: false
|
|
weight: 1
|
|
- agent_type: DumbViewer
|
|
state:
|
|
has_tv: true
|
|
weight: 1
|
|
- agent_type: HerdViewer
|
|
state:
|
|
has_tv: false
|
|
weight: 1
|
|
- agent_type: HerdViewer
|
|
state:
|
|
has_tv: true
|
|
weight: 1
|
|
network_params:
|
|
generator: barabasi_albert_graph
|
|
n: 500
|
|
m: 5
|
|
num_trials: 50
|
|
---
|
|
default_state: {}
|
|
load_module: newsspread
|
|
environment_agents: []
|
|
environment_params:
|
|
prob_neighbor_spread: 0.0
|
|
prob_tv_spread: 0.01
|
|
interval: 1
|
|
max_time: 30
|
|
name: Sim_all_herd
|
|
network_agents:
|
|
- agent_type: HerdViewer
|
|
state:
|
|
has_tv: true
|
|
id: neutral
|
|
weight: 1
|
|
- agent_type: HerdViewer
|
|
state:
|
|
has_tv: true
|
|
id: neutral
|
|
weight: 1
|
|
network_params:
|
|
generator: barabasi_albert_graph
|
|
n: 500
|
|
m: 5
|
|
num_trials: 50
|
|
---
|
|
default_state: {}
|
|
load_module: newsspread
|
|
environment_agents: []
|
|
environment_params:
|
|
prob_neighbor_spread: 0.0
|
|
prob_tv_spread: 0.01
|
|
prob_neighbor_cure: 0.1
|
|
interval: 1
|
|
max_time: 30
|
|
name: Sim_wise_herd
|
|
network_agents:
|
|
- agent_type: HerdViewer
|
|
state:
|
|
has_tv: true
|
|
id: neutral
|
|
weight: 1
|
|
- agent_type: WiseViewer
|
|
state:
|
|
has_tv: true
|
|
weight: 1
|
|
network_params:
|
|
generator: barabasi_albert_graph
|
|
n: 500
|
|
m: 5
|
|
num_trials: 50
|
|
---
|
|
default_state: {}
|
|
load_module: newsspread
|
|
environment_agents: []
|
|
environment_params:
|
|
prob_neighbor_spread: 0.0
|
|
prob_tv_spread: 0.01
|
|
prob_neighbor_cure: 0.1
|
|
interval: 1
|
|
max_time: 30
|
|
name: Sim_all_wise
|
|
network_agents:
|
|
- agent_type: WiseViewer
|
|
state:
|
|
has_tv: true
|
|
id: neutral
|
|
weight: 1
|
|
- agent_type: WiseViewer
|
|
state:
|
|
has_tv: true
|
|
weight: 1
|
|
network_params:
|
|
generator: barabasi_albert_graph
|
|
n: 500
|
|
m: 5
|
|
network_params:
|
|
generator: barabasi_albert_graph
|
|
n: 500
|
|
m: 5
|
|
num_trials: 50
|