1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-24 11:52:29 +00:00
soil/models/models.py
David García Martín de67fe3e74 Initial commit
2017-07-05 13:19:56 +02:00

8 lines
316 B
Python
Executable File

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"])]