gym-examples 3.0.688__py3-none-any.whl → 3.0.689__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
@@ -5,4 +5,4 @@ register(
5
5
  entry_point="gym_examples.envs:WSNRoutingEnv",
6
6
  )
7
7
 
8
- __version__ = "3.0.688"
8
+ __version__ = "3.0.689"
@@ -262,21 +262,7 @@ class WSNRoutingEnv(gym.Env):
262
262
  def get_avail_actions(self):
263
263
  return [list(range(self.n_sensors + 1)) for _ in range(self.n_sensors)]
264
264
 
265
- def build_weigths_agents(self, coefficients):
266
- '''
267
- We would like to compute the similarity score between the agents and the base station:
268
- For this, we consider that each agent is represented by a vector constituted of:
269
- - number of packets after the action
270
- - remaining energy after the action
271
- - distance to the base station
272
- The vector of the base station is constituted of:
273
- - number of packets after the action: all the times, we consider is equal to 0
274
- - remaining energy after the action: all the times, we consider is equal to initial_energy
275
- - distance to the base station: all the times, we consider is equal to 0
276
- '''
277
- vector_referee = [0, 0, 1] # Vector of the base station
278
-
279
-
265
+
280
266
  def update_sensor_energies(self, i, delta_energy):
281
267
  self.remaining_energy[i] -= delta_energy
282
268
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gym-examples
3
- Version: 3.0.688
3
+ Version: 3.0.689
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=dKUh0z2iWKJwjEIZlvD7ZKKTJ36FFi1HxXYvPBksxWU,166
2
+ gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
+ gym_examples/envs/wsn_env.py,sha256=D3EaMLo38IBUfq0CCGX8kmDnwwBtyKTEaNv4iIzxyn4,25477
4
+ gym_examples-3.0.689.dist-info/METADATA,sha256=43jxmXamncUEXsOTI6HGRiRcSwDB7Aj7tvOyI4igi9s,412
5
+ gym_examples-3.0.689.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
+ gym_examples-3.0.689.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
+ gym_examples-3.0.689.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- gym_examples/__init__.py,sha256=g3DXdyJNSBhEr3pXKAtf28JZJa3sW4Tq8jp7-jqDkRE,166
2
- gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
3
- gym_examples/envs/wsn_env.py,sha256=Cw2SipW9j5Wcsv8HYx3gohpAW8xEKVcEwQqm9bpykOw,26264
4
- gym_examples-3.0.688.dist-info/METADATA,sha256=jLfPfbC8VivlKUc2GbdcmfESu0t2V46yYpgV-IZO_JU,412
5
- gym_examples-3.0.688.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
- gym_examples-3.0.688.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
7
- gym_examples-3.0.688.dist-info/RECORD,,