mirror of
https://github.com/gsi-upm/soil
synced 2024-11-14 15:32:29 +00:00
61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
name: TerroristNetworkModel_sim
|
|
load_module: TerroristNetworkModel
|
|
max_time: 500
|
|
num_trials: 1
|
|
network_params:
|
|
generator: random_geometric_graph
|
|
radius: 0.2
|
|
# generator: geographical_threshold_graph
|
|
# theta: 20
|
|
n: 150
|
|
network_agents:
|
|
- agent_type: TerroristNetworkModel
|
|
weight: 0.8
|
|
state:
|
|
id: 0 # Civilians
|
|
- agent_type: TerroristNetworkModel
|
|
weight: 0.1
|
|
state:
|
|
id: 2 # Leaders
|
|
- agent_type: TrainingAreaModel
|
|
weight: 0.05
|
|
state:
|
|
id: 2 # Terrorism
|
|
- agent_type: HavenModel
|
|
weight: 0.05
|
|
state:
|
|
id: 0 # Civilian
|
|
|
|
environment_params:
|
|
# TerroristSpreadModel
|
|
information_spread_intensity: 0.7
|
|
terrorist_additional_influence: 0.035
|
|
max_vulnerability: 0.6
|
|
prob_interaction: 0.5
|
|
|
|
# TrainingAreaModel and HavenModel
|
|
training_influence: 0.20
|
|
haven_influence: 0.20
|
|
|
|
# TerroristNetworkModel
|
|
vision_range: 0.30
|
|
sphere_influence: 2
|
|
weight_social_distance: 0.035
|
|
weight_link_distance: 0.035
|
|
|
|
visualization_params:
|
|
# Icons downloaded from https://www.iconfinder.com/
|
|
shape_property: agent
|
|
shapes:
|
|
TrainingAreaModel: target
|
|
HavenModel: home
|
|
TerroristNetworkModel: person
|
|
colors:
|
|
- attr_id: 0
|
|
color: '#40de40'
|
|
- attr_id: 1
|
|
color: red
|
|
- attr_id: 2
|
|
color: '#c16a6a'
|
|
background_image: 'map_4800x2860.jpg'
|