mirror of
https://github.com/gsi-upm/soil
synced 2025-08-23 19:52:19 +00:00
All settings as JSON and documentation updated
This commit is contained in:
@@ -23,7 +23,7 @@ class BaseBehaviour(BaseNetworkAgent):
|
||||
def run(self):
|
||||
while True:
|
||||
self.step(self.env.now)
|
||||
yield self.env.timeout(settings.timeout)
|
||||
yield self.env.timeout(settings.network_params["timeout"])
|
||||
|
||||
def step(self, now):
|
||||
networkStatus['agent_%s'% self.id] = self.to_json()
|
||||
|
Reference in New Issue
Block a user