gym-examples 2.0.42__py3-none-any.whl → 2.0.44__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__ = "2.0.42"
9
+ __version__ = "2.0.44"
@@ -142,7 +142,7 @@ class WSNRoutingEnv(gym.Env):
142
142
  'remaining_energy': Box(low=0, high=initial_energy, shape=(1,), dtype=np.float64),
143
143
  'sensor_positions': Box(low=lower_bound, high=upper_bound, shape=(2,), dtype=np.float64),
144
144
  'consumption_energy': Box(low=0, high=initial_energy, shape=(1,), dtype=np.float64),
145
- 'number_of_packets': Discrete(self.n_sensors + 1)
145
+ 'number_of_packets': Box(low=0, high=self.n_sensors * initial_number_of_packets + 1, shape=(1,), dtype=int)
146
146
  })
147
147
 
148
148
  def get_state(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gym-examples
3
- Version: 2.0.42
3
+ Version: 2.0.44
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=2DGLj8fnsNVyh8u1X2rlDJ_R4shTEgY1385rFX6k60w,193
2
+ gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
+ gym_examples/envs/wsn_env.py,sha256=I9UO0beru5MhLxxb8JRMCCLqm6ZvKZ24blYD0cFuUtg,14785
4
+ gym_examples-2.0.44.dist-info/METADATA,sha256=Tkjt6Dp3eW1o8dlT_uxQheE8OFbXxxIa5IN-Z1o9uLs,411
5
+ gym_examples-2.0.44.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
+ gym_examples-2.0.44.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
+ gym_examples-2.0.44.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- gym_examples/__init__.py,sha256=Xu4axf3mz-IbP2dC8h4lInruFsWJnS5jMmw3cgh2pWM,193
2
- gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
- gym_examples/envs/wsn_env.py,sha256=IDKtyh3S9VDWh9bF7YJkdZCeY2kOfbREjEWFnApetOI,14727
4
- gym_examples-2.0.42.dist-info/METADATA,sha256=N2rHCvo6YDrNUh-qPOUZcsQJoSMP_g6yP_RRo0w8qwE,411
5
- gym_examples-2.0.42.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
- gym_examples-2.0.42.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
- gym_examples-2.0.42.dist-info/RECORD,,