gym-examples 3.0.180__py3-none-any.whl → 3.0.181__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gym_examples/__init__.py CHANGED
@@ -6,4 +6,4 @@ register(
6
6
  max_episode_steps=50,
7
7
  )
8
8
 
9
- __version__ = "3.0.180"
9
+ __version__ = "3.0.181"
@@ -212,7 +212,7 @@ class WSNRoutingEnv(gym.Env):
212
212
  if os.getenv('PRINT_STATS') == 'True': # We are trying to extract only the statistics for the PPO algorithm
213
213
  self.number_of_steps += 1
214
214
  self.episode_return += rewards
215
- if self.number_of_steps >= num_timesteps:
215
+ if self.number_of_steps >= args.num_timesteps:
216
216
  self.episode_returns.append(self.episode_return)
217
217
  self.episode_std_remaining_energy.append(np.std(self.remaining_energy))
218
218
  self.episode_mean_remaining_energy.append(np.mean(self.remaining_energy))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gym-examples
3
- Version: 3.0.180
3
+ Version: 3.0.181
4
4
  Summary: A custom environment for multi-agent reinforcement learning focused on WSN routing.
5
5
  Home-page: https://github.com/gedji/CODES.git
6
6
  Author: Georges Djimefo
@@ -0,0 +1,7 @@
1
+ gym_examples/__init__.py,sha256=iQVGN4xf7aVsGStExIGCellet65qyWdATF9mMBZUd38,194
2
+ gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
+ gym_examples/envs/wsn_env.py,sha256=xPQBioLxNacHCoD9C1r6q5kyT0SUsGKQ4QIunrLsJfY,25665
4
+ gym_examples-3.0.181.dist-info/METADATA,sha256=OP7sQV_EnNvX-bokFyrnW_YPblQcblvOv9DyfDY841Y,412
5
+ gym_examples-3.0.181.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
+ gym_examples-3.0.181.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
+ gym_examples-3.0.181.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- gym_examples/__init__.py,sha256=u596NUGuugLKs4xG38CdXc1ChDTjdSFE4qwRq07dSco,194
2
- gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
- gym_examples/envs/wsn_env.py,sha256=xXwNW7X-pFQT0T_vJwI7WIkoAhUhtmz7nTEokL9d30Q,25660
4
- gym_examples-3.0.180.dist-info/METADATA,sha256=esLOv32LCP3zP5pOa-zczAQTsz0ZSha7VqVAL0pcsNg,412
5
- gym_examples-3.0.180.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
- gym_examples-3.0.180.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
- gym_examples-3.0.180.dist-info/RECORD,,