From be65592055061d5c43d3c0669d221f6cc0f0acee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Fri, 14 Apr 2023 20:25:16 +0200 Subject: [PATCH] Default parameters terroristnetwork --- examples/terrorism/TerroristNetworkModel_sim.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/terrorism/TerroristNetworkModel_sim.py b/examples/terrorism/TerroristNetworkModel_sim.py index 835412c..1c8f9bf 100644 --- a/examples/terrorism/TerroristNetworkModel_sim.py +++ b/examples/terrorism/TerroristNetworkModel_sim.py @@ -249,10 +249,10 @@ class TerroristNetworkModel(TerroristSpreadModel): weight_link_distance """ - sphere_influence: float - vision_range: float - weight_social_distance: float - weight_link_distance: float + sphere_influence: float = 1 + vision_range: float = 1 + weight_social_distance: float = 0.5 + weight_link_distance: float = 0.2 @state def terrorist(self):