gym-examples 2.0.76__py3-none-any.whl → 2.0.77__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 +2 -1
- {gym_examples-2.0.76.dist-info → gym_examples-2.0.77.dist-info}/METADATA +1 -1
- gym_examples-2.0.77.dist-info/RECORD +7 -0
- gym_examples-2.0.76.dist-info/RECORD +0 -7
- {gym_examples-2.0.76.dist-info → gym_examples-2.0.77.dist-info}/WHEEL +0 -0
- {gym_examples-2.0.76.dist-info → gym_examples-2.0.77.dist-info}/top_level.txt +0 -0
gym_examples/__init__.py
CHANGED
gym_examples/envs/wsn_env.py
CHANGED
@@ -273,7 +273,8 @@ class WSNRoutingEnv(gym.Env):
|
|
273
273
|
reward_number_of_packets = self.compute_reward_number_of_packets(action)
|
274
274
|
|
275
275
|
# return [reward_angle, reward_distance, reward_consumption_energy, reward_dispersion_remaining_energy, reward_number_of_packets]
|
276
|
-
return [reward_angle, reward_distance, reward_consumption_energy, reward_number_of_packets]
|
276
|
+
# return [reward_angle, reward_distance, reward_consumption_energy, reward_number_of_packets]
|
277
|
+
return [reward_angle, reward_distance, reward_number_of_packets]
|
277
278
|
|
278
279
|
def network_reward_dispersion_remaining_energy(self):
|
279
280
|
'''
|
@@ -0,0 +1,7 @@
|
|
1
|
+
gym_examples/__init__.py,sha256=SnKbKQ-A6nJGr_zxdY0mkzTXHxF2i5hRV_V-co2F0CE,193
|
2
|
+
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
+
gym_examples/envs/wsn_env.py,sha256=Fct3VXMPwNUTZyLAAPGGq1RLG282VKnohIds_d1qqv8,16166
|
4
|
+
gym_examples-2.0.77.dist-info/METADATA,sha256=bd1lNeat-U4vFn2q_k6u1Ve_RycnBwsCmfdOGKZcCnI,411
|
5
|
+
gym_examples-2.0.77.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
+
gym_examples-2.0.77.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
+
gym_examples-2.0.77.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
gym_examples/__init__.py,sha256=-v2IXwiGqmUdUbBPaWBQUoKOGvvn0Je7GdQXoOb1AnQ,193
|
2
|
-
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
-
gym_examples/envs/wsn_env.py,sha256=67-7LtO0nEd1UBSdX16Sdwfb3Es4liOYAOQznrQ9zwk,16090
|
4
|
-
gym_examples-2.0.76.dist-info/METADATA,sha256=LjOKaPdP_a29GaEcjdZmn9icpUopSRDORqvPrYDxwb8,411
|
5
|
-
gym_examples-2.0.76.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
-
gym_examples-2.0.76.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
-
gym_examples-2.0.76.dist-info/RECORD,,
|
File without changes
|
File without changes
|