gym-examples 3.0.214__py3-none-any.whl → 3.0.216__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.214"
9
+ __version__ = "3.0.216"
@@ -88,7 +88,7 @@ class WSNRoutingEnv(gym.Env):
88
88
  self.reset()
89
89
 
90
90
  def reset(self):
91
-
91
+
92
92
  if self.episode_count > 1 and os.getenv('PRINT_STATS') == 'True': # Statistics for the PPO algorithm during the training phase
93
93
  self.episode_returns.append(self.episode_return)
94
94
  self.episode_std_remaining_energy.append(np.std(self.remaining_energy))
@@ -125,6 +125,8 @@ class WSNRoutingEnv(gym.Env):
125
125
 
126
126
  self.episode_count += 1
127
127
 
128
+ self.get_metrics()
129
+
128
130
  return self._get_obs()
129
131
 
130
132
  def step(self, actions):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gym-examples
3
- Version: 3.0.214
3
+ Version: 3.0.216
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=o__-P3lpN1pbgkPuS7ZUQG94BBtBEvfdtR0G-MeVLP8,194
2
+ gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
+ gym_examples/envs/wsn_env.py,sha256=jAinwY1niJzuF5xysMuOuDEcemjUWz2Gj0FqwOrszUA,26095
4
+ gym_examples-3.0.216.dist-info/METADATA,sha256=JA4Q9MVqpoz3-sMqeR3J7ZGbC3v3D4x3g_57xOL7uD4,412
5
+ gym_examples-3.0.216.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
+ gym_examples-3.0.216.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
+ gym_examples-3.0.216.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- gym_examples/__init__.py,sha256=-xns6k1AHpX1BjPIxRK6fwlidWEOkNrErMM1GA7tnp8,194
2
- gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
- gym_examples/envs/wsn_env.py,sha256=FvQq-Y7S-yOKE1p0fU4bubGP0eWUiciMtsc4kUHmjoo,26057
4
- gym_examples-3.0.214.dist-info/METADATA,sha256=6pmOXSGy1DBzOnOhqFv39uiNz59d_sQafV0jlQVkTic,412
5
- gym_examples-3.0.214.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
- gym_examples-3.0.214.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
- gym_examples-3.0.214.dist-info/RECORD,,