gym-examples 3.0.767__py3-none-any.whl → 3.0.769__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 -1
- {gym_examples-3.0.767.dist-info → gym_examples-3.0.769.dist-info}/METADATA +1 -1
- gym_examples-3.0.769.dist-info/RECORD +7 -0
- gym_examples-3.0.767.dist-info/RECORD +0 -7
- {gym_examples-3.0.767.dist-info → gym_examples-3.0.769.dist-info}/WHEEL +0 -0
- {gym_examples-3.0.767.dist-info → gym_examples-3.0.769.dist-info}/top_level.txt +0 -0
gym_examples/__init__.py
CHANGED
gym_examples/envs/wsn_env.py
CHANGED
@@ -159,7 +159,7 @@ class WSNRoutingEnv(gym.Env):
|
|
159
159
|
|
160
160
|
if (action == i):
|
161
161
|
continue # Skip if sensor tries to transmit data to itself
|
162
|
-
|
162
|
+
|
163
163
|
if action == self.n_sensors:
|
164
164
|
if self.distance_to_base[i] > self.coverage_radius:
|
165
165
|
continue # Skip if the distance to the base station is greater than the coverage radius
|
@@ -0,0 +1,7 @@
|
|
1
|
+
gym_examples/__init__.py,sha256=JrDpTNbLnzE4_62ux2BYcurQHhbfV4ZjpaK9TfNmgvM,166
|
2
|
+
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
+
gym_examples/envs/wsn_env.py,sha256=O2DXjVkYubXn5aLNeCf2AwQ1FUZlwp8R2xYCR1MDqCk,26806
|
4
|
+
gym_examples-3.0.769.dist-info/METADATA,sha256=6oumqB5XQ0yhGHDK7G4E5yj2JeK0TxSqFqb3XUsUjHw,412
|
5
|
+
gym_examples-3.0.769.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
+
gym_examples-3.0.769.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
+
gym_examples-3.0.769.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
gym_examples/__init__.py,sha256=lI2A534ndKHi9RQYvkCYTX1c8O0mQr5rLLLQuRzu5Qw,166
|
2
|
-
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
-
gym_examples/envs/wsn_env.py,sha256=QX9nNxbq87fRr0Dtfwe3aPtTmtiCJtNHixJLfycR1mo,26794
|
4
|
-
gym_examples-3.0.767.dist-info/METADATA,sha256=KSj6oEzWvhbdwcJxk6M1V_OxbwExmam4LyXCHUbrWZ8,412
|
5
|
-
gym_examples-3.0.767.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
-
gym_examples-3.0.767.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
-
gym_examples-3.0.767.dist-info/RECORD,,
|
File without changes
|
File without changes
|