From 967451e2d51c644e85a5b7b2c3301af868d7d80a Mon Sep 17 00:00:00 2001 From: JesusMSM Date: Wed, 13 Apr 2016 18:10:43 +0200 Subject: [PATCH] Cambios menores --- models.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/models.py b/models.py index 9ad908c..006a6d0 100644 --- a/models.py +++ b/models.py @@ -11,23 +11,10 @@ import settings settings.init() -#################### -# Network creation # -#################### - -if settings.network_type == 0: - G = nx.complete_graph(settings.number_of_nodes) -if settings.network_type == 1: - G = nx.barabasi_albert_graph(settings.number_of_nodes,3) -if settings.network_type == 2: - G = nx.margulis_gabber_galil_graph(settings.number_of_nodes, None) -# More types of networks can be added here - ############################## # Variables initializitation # ############################## def init(): - global networkStatus networkStatus={} # Dict that will contain the status of every agent in the network