gym-examples 2.0.89__py3-none-any.whl → 2.0.90__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 +1 -1
- gym_examples/envs/wsn_env.py +3 -3
- {gym_examples-2.0.89.dist-info → gym_examples-2.0.90.dist-info}/METADATA +1 -1
- gym_examples-2.0.90.dist-info/RECORD +7 -0
- gym_examples-2.0.89.dist-info/RECORD +0 -7
- {gym_examples-2.0.89.dist-info → gym_examples-2.0.90.dist-info}/WHEEL +0 -0
- {gym_examples-2.0.89.dist-info → gym_examples-2.0.90.dist-info}/top_level.txt +0 -0
gym_examples/__init__.py
CHANGED
gym_examples/envs/wsn_env.py
CHANGED
@@ -282,13 +282,13 @@ class WSNRoutingEnv(gym.Env):
|
|
282
282
|
'''
|
283
283
|
reward_angle = self.compute_reward_angle(i, action)
|
284
284
|
reward_distance = self.compute_reward_distance(i, action)
|
285
|
-
|
285
|
+
reward_consumption_energy = self.compute_reward_consumption_energy(i, action)
|
286
286
|
reward_dispersion_remaining_energy = self.compute_reward_dispersion_remaining_energy()
|
287
287
|
reward_number_of_packets = self.compute_reward_number_of_packets(action)
|
288
288
|
|
289
|
-
|
289
|
+
return [reward_angle, reward_distance, reward_consumption_energy, reward_dispersion_remaining_energy, reward_number_of_packets]
|
290
290
|
# return [reward_angle, reward_distance, reward_consumption_energy, reward_number_of_packets]
|
291
|
-
return [reward_angle, reward_distance, reward_dispersion_remaining_energy, reward_number_of_packets]
|
291
|
+
# return [reward_angle, reward_distance, reward_dispersion_remaining_energy, reward_number_of_packets]
|
292
292
|
|
293
293
|
# def network_reward_dispersion_remaining_energy(self):
|
294
294
|
# '''
|
@@ -0,0 +1,7 @@
|
|
1
|
+
gym_examples/__init__.py,sha256=9rChXqUR8yXkVZhNuTlLyA0BYVKFOyri-Robwg4NEA8,193
|
2
|
+
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
+
gym_examples/envs/wsn_env.py,sha256=LDd4TUSP1iFhG8BJVK3eMF4yLazWI924Dff_Gd94X2E,17139
|
4
|
+
gym_examples-2.0.90.dist-info/METADATA,sha256=ATBn2zE474FO5jo_trNPuslQumdh90B2bsV9nKZPsSc,411
|
5
|
+
gym_examples-2.0.90.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
+
gym_examples-2.0.90.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
+
gym_examples-2.0.90.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
gym_examples/__init__.py,sha256=RnKrzaJG3_PHlERG6uSS0TIlcZXqBiI_M8ord43nM1U,193
|
2
|
-
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
-
gym_examples/envs/wsn_env.py,sha256=DiHoGDXKhrrVDGs_h8VkgOVn3_GlmMxoLxW3AQK7I3M,17141
|
4
|
-
gym_examples-2.0.89.dist-info/METADATA,sha256=td0__pioyzi02goxMzFAMvIzRAI7NR_CnHLR2hDNZU8,411
|
5
|
-
gym_examples-2.0.89.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
-
gym_examples-2.0.89.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
-
gym_examples-2.0.89.dist-info/RECORD,,
|
File without changes
|
File without changes
|