gym-examples 3.0.83__py3-none-any.whl → 3.0.84__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.83"
9
+ __version__ = "3.0.84"
@@ -303,8 +303,8 @@ class WSNRoutingEnv(gym.Env):
303
303
 
304
304
  #-- rewards related to the performance metrics
305
305
  reward_latency = self.compute_reward_latency()
306
- reward_network_throughput = self.compute_reward_network_throughput()
307
- reward_packet_delivery_ratio = self.compute_reward_packet_delivery_ratio()
306
+ reward_network_throughput = np.clip(2.6 * self.compute_reward_network_throughput(), 0, 1)
307
+ reward_packet_delivery_ratio = np.clip(1.6 * self.compute_reward_packet_delivery_ratio(), 0, 1)
308
308
 
309
309
  rewards_performance = np.array([reward_latency, reward_network_throughput, reward_packet_delivery_ratio])
310
310
  if self.episode_count == 455:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gym-examples
3
- Version: 3.0.83
3
+ Version: 3.0.84
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=ST4s9tIt_yRybwlLKBLIlKL30PMwUmD-6X2XJakhv_0,193
2
+ gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
+ gym_examples/envs/wsn_env.py,sha256=yJyhA_VVM00Pju7fYBBk2HAYas5ws_iZsSfQZBUFb74,20672
4
+ gym_examples-3.0.84.dist-info/METADATA,sha256=ZGgIUW9Y3i1fJFP8XI6M2ejWyTBzhtu01ZDU7y_2YfA,411
5
+ gym_examples-3.0.84.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
+ gym_examples-3.0.84.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
+ gym_examples-3.0.84.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- gym_examples/__init__.py,sha256=QDtvnXb2Mx55f1nDFtydZEG4rBrtql9NsdptzX8iERo,193
2
- gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
- gym_examples/envs/wsn_env.py,sha256=kvQViM19DyTdlmkIAUs_WL2UWIk46EiEV5LrWPCekUA,20630
4
- gym_examples-3.0.83.dist-info/METADATA,sha256=YEoAiSUMbHaInr_ZMK0Nb6XLEByt9O9RfVefbAv1rJs,411
5
- gym_examples-3.0.83.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
- gym_examples-3.0.83.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
- gym_examples-3.0.83.dist-info/RECORD,,