1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-24 11:52:29 +00:00
soil/models/models.py

8 lines
316 B
Python
Raw Normal View History

2017-07-05 11:19:56 +00:00
import settings
networkStatus = {} # Dict that will contain the status of every agent in the network
# Initialize agent states. Let's assume everyone is normal and all types are population.
init_states = [{'id': 0, 'type': 0, 'rad': 0, 'fstatus':0, } for _ in range(settings.network_params["number_of_nodes"])]