Skip to content
Snippets Groups Projects
Commit 03b389b4 authored by Sebastien GOYON's avatar Sebastien GOYON
Browse files

Delete amas.py

parent 25d4f876
Branches
No related tags found
No related merge requests found
import sys
from iotAmak.amas import Amas
class AntAmas(Amas):
def __init__(self, broker_ip: str, clients, nbr_agent):
self.agent_to_create = nbr_agent
super().__init__(broker_ip, clients)
def on_initial_agents_creation(self):
for _ in range(self.agent_to_create):
self.add_agent("ant")
if __name__ == '__main__':
s = AntAmas(str(sys.argv[1]), sys.argv[2], 150)
s.run()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment