gym-examples 3.0.275__py3-none-any.whl → 3.0.277__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 +0 -1
- {gym_examples-3.0.275.dist-info → gym_examples-3.0.277.dist-info}/METADATA +1 -1
- gym_examples-3.0.277.dist-info/RECORD +7 -0
- gym_examples-3.0.275.dist-info/RECORD +0 -7
- {gym_examples-3.0.275.dist-info → gym_examples-3.0.277.dist-info}/WHEEL +0 -0
- {gym_examples-3.0.275.dist-info → gym_examples-3.0.277.dist-info}/top_level.txt +0 -0
gym_examples/__init__.py
CHANGED
gym_examples/envs/wsn_env.py
CHANGED
@@ -122,7 +122,6 @@ class WSNRoutingEnv(gym.Env):
|
|
122
122
|
# rewards = 0
|
123
123
|
dones = False
|
124
124
|
actions = np.array([self.current_sensor, actions])
|
125
|
-
print(f"\nactions from step in WSNRoutingEnv: {actions}\n")
|
126
125
|
for i, action in [actions]:
|
127
126
|
if self.remaining_energy[i] <= 0 or self.number_of_packets[i] <= 0:
|
128
127
|
continue # Skip if sensor has no energy left or no packets to transmit
|
@@ -0,0 +1,7 @@
|
|
1
|
+
gym_examples/__init__.py,sha256=7LRBvTv1MohupFAYSZh6pCtsIOId9r_ybPbKLglF80w,166
|
2
|
+
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
+
gym_examples/envs/wsn_env.py,sha256=pi4-ErjIpxM1jrWjMr8vbUHmp0YSY9YaGSTXsL2k50I,24121
|
4
|
+
gym_examples-3.0.277.dist-info/METADATA,sha256=ynD36fyaar71cufTOc-QLjfBHKzKgRThK5H7jg9QKys,412
|
5
|
+
gym_examples-3.0.277.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
+
gym_examples-3.0.277.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
+
gym_examples-3.0.277.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
gym_examples/__init__.py,sha256=sVM9Gk1qNwP3R3Ej62PfhYz-vNXDf0UQLvgclMAqU-4,166
|
2
|
-
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
-
gym_examples/envs/wsn_env.py,sha256=SYx28yL3WfHnb1I-AXUQpE9-6esP_BWdvLKoLXuATrw,24190
|
4
|
-
gym_examples-3.0.275.dist-info/METADATA,sha256=javWPmu6oFLAF9Zv0nOQHAd6VBO2brI6nmksHQdVNUg,412
|
5
|
-
gym_examples-3.0.275.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
-
gym_examples-3.0.275.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
-
gym_examples-3.0.275.dist-info/RECORD,,
|
File without changes
|
File without changes
|