Skip to content

Commit 81311a1

Browse files
Communication action space is always discrete
1 parent e331f8e commit 81311a1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

multiagent/environment.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@ def __init__(self, world, reset_callback=None, reward_callback=None,
4949
if agent.movable:
5050
total_action_space.append(u_action_space)
5151
# communication action space
52-
if self.discrete_action_space:
53-
c_action_space = spaces.Discrete(world.dim_c)
54-
else:
55-
c_action_space = spaces.Box(low=0.0, high=1.0, shape=(world.dim_c,))
52+
c_action_space = spaces.Discrete(world.dim_c)
5653
if not agent.silent:
5754
total_action_space.append(c_action_space)
5855
# total action space

0 commit comments

Comments
 (0)