Skip to content

Commit 4934e46

Browse files
authored
Update chp_agent.py
1 parent 2013f86 commit 4934e46

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

moo/chp_agent.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import asyncio
22

33
import pandas as pd
4-
5-
from config import ROOT_PATH, TARGET, NUM_SOLUTION_POINTS, PORTS_TO_AIDS, CHP_CONFIG
64
from mango import RoleAgent
75
from mango import create_container
86
from mango.messages.codecs import JSON
7+
8+
from config import ROOT_PATH, TARGET, NUM_SOLUTION_POINTS, PORTS_TO_AIDS, CHP_CONFIG
99
from mango_library.coalition.core import (
1010
CoalitionParticipantRole,
1111
)
@@ -116,20 +116,6 @@ def schedule_provider_chp(agent_id=None):
116116
await asyncio.sleep(1000)
117117
print(a.aid, c.msgs)
118118

119-
# # shutdown
120-
# for a in cohda_agents:
121-
# await a.shutdown()
122-
# await c.shutdown()
123-
124119

125120
def main(pos):
126121
asyncio.run(run_agent(pos))
127-
128-
# parser = argparse.ArgumentParser()
129-
# args = parser.parse_known_args()
130-
# position = args[1][-1]
131-
# if len(position) == 6:
132-
# position = position[-1]
133-
# else:
134-
# position = position[-2:]
135-
# asyncio.run(run_agent(pos=int(position)))

0 commit comments

Comments
 (0)