updated multiagent docs (#1523)

* updated multiagent docs

* Update rllib.rst

* Update multiagent_mountaincar_env.py

* Update multiagent_pendulum_env.py
This commit is contained in:
eugenevinitsky
2018-02-11 16:35:03 -08:00
committed by Eric Liang
parent 81a4be8f65
commit 639df85fda
3 changed files with 36 additions and 4 deletions
@@ -22,8 +22,8 @@ class MultiAgentMountainCarEnv(MountainCarEnv):
self.viewer = None
self.action_space = [Discrete(3) for _ in range(2)]
self.observation_space = Tuple(tuple(Box(self.low, self.high)
for _ in range(2)))
self.observation_space = Tuple([
Box(self.low, self.high) for _ in range(2)])
self._seed()
self.reset()
@@ -24,8 +24,8 @@ class MultiAgentPendulumEnv(PendulumEnv):
self.action_space = [Box(low=-self.max_torque / 2,
high=self.max_torque / 2, shape=(1,))
for _ in range(2)]
self.observation_space = Tuple(tuple(Box(low=-high, high=high)
for _ in range(2)))
self.observation_space = Tuple([
Box(low=-high, high=high) for _ in range(2)])
self._seed()