mirror of
https://github.com/gsi-upm/soil
synced 2024-11-13 23:12:28 +00:00
2869b1e1e6
* Removed old/unnecessary models * Added a `simulation.{iter_}from_py` method to load simulations from python files * Changed tests of examples to run programmatic simulations * Fixed programmatic examples
34 lines
694 B
YAML
34 lines
694 B
YAML
---
|
|
name: quickstart
|
|
num_trials: 1
|
|
max_time: 1000
|
|
model_params:
|
|
agents:
|
|
- agent_class: SISaModel
|
|
topology: true
|
|
state:
|
|
id: neutral
|
|
weight: 1
|
|
- agent_class: SISaModel
|
|
topology: true
|
|
state:
|
|
id: content
|
|
weight: 2
|
|
topology:
|
|
params:
|
|
n: 100
|
|
k: 5
|
|
p: 0.2
|
|
generator: newman_watts_strogatz_graph
|
|
neutral_discontent_spon_prob: 0.05
|
|
neutral_discontent_infected_prob: 0.1
|
|
neutral_content_spon_prob: 0.2
|
|
neutral_content_infected_prob: 0.4
|
|
discontent_neutral: 0.2
|
|
discontent_content: 0.05
|
|
content_discontent: 0.05
|
|
variance_d_c: 0.05
|
|
variance_c_d: 0.1
|
|
content_neutral: 0.1
|
|
standard_variance: 0.1
|