gym-examples 3.0.355__py3-none-any.whl → 3.0.357__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 +1 -2
- {gym_examples-3.0.355.dist-info → gym_examples-3.0.357.dist-info}/METADATA +1 -1
- gym_examples-3.0.357.dist-info/RECORD +7 -0
- gym_examples-3.0.355.dist-info/RECORD +0 -7
- {gym_examples-3.0.355.dist-info → gym_examples-3.0.357.dist-info}/WHEEL +0 -0
- {gym_examples-3.0.355.dist-info → gym_examples-3.0.357.dist-info}/top_level.txt +0 -0
gym_examples/__init__.py
CHANGED
gym_examples/envs/wsn_env.py
CHANGED
@@ -109,8 +109,7 @@ class WSNRoutingEnv(gym.Env):
|
|
109
109
|
|
110
110
|
# Append the statistics to the .txt file
|
111
111
|
with open(self.statistics_filename, 'a') as file:
|
112
|
-
file.write(f"{self.episode_return}, {total_consumption_energy}, {std_remaining_energy}, {mean_remaining_energy}, {self.network_lifetime},
|
113
|
-
{network_throughput}, {energy_efficiency}, {packet_delivery_ratio}, {network_lifetime}, {average_latency}\n")
|
112
|
+
file.write(f"{self.episode_return}, {total_consumption_energy}, {std_remaining_energy}, {mean_remaining_energy}, {self.network_lifetime}, {network_throughput}, {energy_efficiency}, {packet_delivery_ratio}, {network_lifetime}, {average_latency}\n")
|
114
113
|
|
115
114
|
# print("Episode count: ", self.episode_count)
|
116
115
|
# print("Episode return: ", self.episode_return)
|
@@ -0,0 +1,7 @@
|
|
1
|
+
gym_examples/__init__.py,sha256=xpvZO2MraluiZ2VOD882eJzhIAn23DLC9C9LtxZKJRw,166
|
2
|
+
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
+
gym_examples/envs/wsn_env.py,sha256=_YAVJN7aMo2h7Ip8YNO3R1zfpu-gtNcGUFZA-U-JZXs,25916
|
4
|
+
gym_examples-3.0.357.dist-info/METADATA,sha256=XxFr5UUqogRDLCIlQHGSG7_fVnDD_uUnWRWWLDIHGJ8,412
|
5
|
+
gym_examples-3.0.357.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
+
gym_examples-3.0.357.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
+
gym_examples-3.0.357.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
gym_examples/__init__.py,sha256=lYLIhK75Cbobycsj0iM1GJQx4oTfWqlMb_hA_O3GlKU,166
|
2
|
-
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
-
gym_examples/envs/wsn_env.py,sha256=Zujo-Ei4zNuz-8zf0TIPS2vHGDdxXXlWTZanb34ttIo,25945
|
4
|
-
gym_examples-3.0.355.dist-info/METADATA,sha256=QQH20cVu7Hs_61WM64tki2qJ68iUQtX8A6vnm4z1wNU,412
|
5
|
-
gym_examples-3.0.355.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
-
gym_examples-3.0.355.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
-
gym_examples-3.0.355.dist-info/RECORD,,
|
File without changes
|
File without changes
|