continual-foragax 0.42.2__py3-none-any.whl → 0.43.0__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.
- {continual_foragax-0.42.2.dist-info → continual_foragax-0.43.0.dist-info}/METADATA +1 -1
- {continual_foragax-0.42.2.dist-info → continual_foragax-0.43.0.dist-info}/RECORD +6 -6
- foragax/registry.py +62 -0
- {continual_foragax-0.42.2.dist-info → continual_foragax-0.43.0.dist-info}/WHEEL +0 -0
- {continual_foragax-0.42.2.dist-info → continual_foragax-0.43.0.dist-info}/entry_points.txt +0 -0
- {continual_foragax-0.42.2.dist-info → continual_foragax-0.43.0.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@ foragax/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
foragax/colors.py,sha256=rqNPiywP4Nvr0POhsGpasRk-nMMTS3DOwFRUgperlUk,2065
|
|
3
3
|
foragax/env.py,sha256=XRrdQew23Vl3kcm0U68da7736J4Xgz9y0WxcrqKflHk,69788
|
|
4
4
|
foragax/objects.py,sha256=fVUPJYT7alvUl6KGZHZPYAkMVwup8s2BV6lWY5o7CdQ,27198
|
|
5
|
-
foragax/registry.py,sha256=
|
|
5
|
+
foragax/registry.py,sha256=7DR7QFbW18hG10KnRaXaUsr7lKcYfvKnyzhmBREGLkk,23731
|
|
6
6
|
foragax/rendering.py,sha256=E55NxxbKyIaIo77XJzXHqd1u3gLrV-WTPwjqCawNgMs,5776
|
|
7
7
|
foragax/weather.py,sha256=KNAiwuFz8V__6G75vZIWQKPocLzXqxXn-Vt4TbHIpcA,1258
|
|
8
8
|
foragax/data/ECA_non-blended_custom/TG_SOUID100897.txt,sha256=N7URbX6VlCZvCboUogYjMzy1I-0cfNPOn0QTLSHHfQ0,1776751
|
|
@@ -128,8 +128,8 @@ foragax/data/ECA_non-blended_custom/TG_SOUID156887.txt,sha256=juzTPgJoJxfqmZkorL
|
|
|
128
128
|
foragax/data/ECA_non-blended_custom/elements.txt,sha256=OtcUBoDAHxuln79BPKGu0tsQxG_5G2BfAX3Ck130kEA,4507
|
|
129
129
|
foragax/data/ECA_non-blended_custom/metadata.txt,sha256=nudnmOCy5cPJfSXt_IjyX0S5-T7NkCZREICZSimqeqc,48260
|
|
130
130
|
foragax/data/ECA_non-blended_custom/sources.txt,sha256=1j3lSmINAoCMqPqFrHfZJriOz6sTYZNOhXzUwvTLas0,20857
|
|
131
|
-
continual_foragax-0.
|
|
132
|
-
continual_foragax-0.
|
|
133
|
-
continual_foragax-0.
|
|
134
|
-
continual_foragax-0.
|
|
135
|
-
continual_foragax-0.
|
|
131
|
+
continual_foragax-0.43.0.dist-info/METADATA,sha256=XDvRZOJuOO00tJN10Xzgwz00XHAAyiWsIzffuosXb_U,4713
|
|
132
|
+
continual_foragax-0.43.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
133
|
+
continual_foragax-0.43.0.dist-info/entry_points.txt,sha256=Qiu6iE_XudrDO_bVAMeA435h4PO9ourt8huvSHiuMPc,41
|
|
134
|
+
continual_foragax-0.43.0.dist-info/top_level.txt,sha256=-z3SDK6RfLIcLI24n8rdbeFzlVY3hunChzlu-v1Fncs,8
|
|
135
|
+
continual_foragax-0.43.0.dist-info/RECORD,,
|
foragax/registry.py
CHANGED
|
@@ -31,11 +31,15 @@ from foragax.objects import (
|
|
|
31
31
|
LARGE_MOREL,
|
|
32
32
|
LARGE_OYSTER,
|
|
33
33
|
MEDIUM_MOREL,
|
|
34
|
+
WALL,
|
|
34
35
|
create_fourier_objects,
|
|
35
36
|
create_sine_biome_objects,
|
|
36
37
|
create_weather_objects,
|
|
37
38
|
)
|
|
38
39
|
|
|
40
|
+
BIG_WIDTH = 15
|
|
41
|
+
BIG_OFFSET = BIG_WIDTH // 2
|
|
42
|
+
|
|
39
43
|
ENV_CONFIGS: Dict[str, Dict[str, Any]] = {
|
|
40
44
|
"ForagaxWeather-v1": {
|
|
41
45
|
"size": (15, 15),
|
|
@@ -165,6 +169,54 @@ ENV_CONFIGS: Dict[str, Dict[str, Any]] = {
|
|
|
165
169
|
"biome_consumption_threshold": 10000,
|
|
166
170
|
"dynamic_biome_spawn_empty": 0.4,
|
|
167
171
|
},
|
|
172
|
+
"ForagaxBig-v1": {
|
|
173
|
+
"size": (4 * BIG_WIDTH, 4 * BIG_WIDTH),
|
|
174
|
+
"aperture_size": None,
|
|
175
|
+
"objects": None,
|
|
176
|
+
"biomes": (
|
|
177
|
+
Biome(start=(BIG_OFFSET, BIG_OFFSET), stop=(BIG_OFFSET + BIG_WIDTH, BIG_OFFSET + BIG_WIDTH), object_frequencies=(0.4, 0.0)),
|
|
178
|
+
Biome(
|
|
179
|
+
start=(BIG_OFFSET, BIG_OFFSET + 2 * BIG_WIDTH),
|
|
180
|
+
stop=(BIG_OFFSET + BIG_WIDTH, BIG_OFFSET + 3 * BIG_WIDTH),
|
|
181
|
+
object_frequencies=(0.4, 0.0),
|
|
182
|
+
),
|
|
183
|
+
Biome(
|
|
184
|
+
start=(BIG_OFFSET + 2 * BIG_WIDTH, BIG_OFFSET),
|
|
185
|
+
stop=(BIG_OFFSET + 3 * BIG_WIDTH, BIG_OFFSET + BIG_WIDTH),
|
|
186
|
+
object_frequencies=(0.4, 0.0),
|
|
187
|
+
),
|
|
188
|
+
Biome(
|
|
189
|
+
start=(BIG_OFFSET + 2 * BIG_WIDTH, BIG_OFFSET + 2 * BIG_WIDTH),
|
|
190
|
+
stop=(BIG_OFFSET + 3 * BIG_WIDTH, BIG_OFFSET + 3 * BIG_WIDTH),
|
|
191
|
+
object_frequencies=(0.4, 0.0),
|
|
192
|
+
),
|
|
193
|
+
Biome(
|
|
194
|
+
start=(BIG_OFFSET + BIG_WIDTH // 2, BIG_OFFSET + BIG_WIDTH // 2),
|
|
195
|
+
stop=(BIG_OFFSET + BIG_WIDTH // 2 + 1, BIG_OFFSET + BIG_WIDTH // 2 + 1),
|
|
196
|
+
object_frequencies=(0.0, 1.0),
|
|
197
|
+
),
|
|
198
|
+
Biome(
|
|
199
|
+
start=(BIG_OFFSET + BIG_WIDTH // 2, BIG_OFFSET + 5 * BIG_WIDTH // 2),
|
|
200
|
+
stop=(BIG_OFFSET + BIG_WIDTH // 2 + 1, BIG_OFFSET + 5 * BIG_WIDTH // 2 + 1),
|
|
201
|
+
object_frequencies=(0.0, 1.0),
|
|
202
|
+
),
|
|
203
|
+
Biome(
|
|
204
|
+
start=(BIG_OFFSET + 5 * BIG_WIDTH // 2, BIG_OFFSET + BIG_WIDTH // 2),
|
|
205
|
+
stop=(BIG_OFFSET + 5 * BIG_WIDTH // 2 + 1, BIG_OFFSET + BIG_WIDTH // 2 + 1),
|
|
206
|
+
object_frequencies=(0.0, 1.0),
|
|
207
|
+
),
|
|
208
|
+
Biome(
|
|
209
|
+
start=(BIG_OFFSET + 5 * BIG_WIDTH // 2, BIG_OFFSET + 5 * BIG_WIDTH // 2),
|
|
210
|
+
stop=(BIG_OFFSET + 5 * BIG_WIDTH // 2 + 1, BIG_OFFSET + 5 * BIG_WIDTH // 2 + 1),
|
|
211
|
+
object_frequencies=(0.0, 1.0),
|
|
212
|
+
),
|
|
213
|
+
),
|
|
214
|
+
"nowrap": False,
|
|
215
|
+
"deterministic_spawn": True,
|
|
216
|
+
"dynamic_biomes": True,
|
|
217
|
+
"biome_consumption_threshold": 10000,
|
|
218
|
+
"dynamic_biome_spawn_empty": 1.0,
|
|
219
|
+
},
|
|
168
220
|
"ForagaxTwoBiome-v1": {
|
|
169
221
|
"size": (15, 15),
|
|
170
222
|
"aperture_size": None,
|
|
@@ -633,6 +685,16 @@ def make(
|
|
|
633
685
|
regen_delay=(9, 11),
|
|
634
686
|
reward_repeat=1000,
|
|
635
687
|
)[:1]
|
|
688
|
+
if env_id == "ForagaxBig-v1":
|
|
689
|
+
config["objects"] = (
|
|
690
|
+
create_fourier_objects(
|
|
691
|
+
num_fourier_terms=10,
|
|
692
|
+
reward_delay=reward_delay,
|
|
693
|
+
regen_delay=(9, 11),
|
|
694
|
+
reward_repeat=1000,
|
|
695
|
+
)[0],
|
|
696
|
+
WALL,
|
|
697
|
+
)
|
|
636
698
|
|
|
637
699
|
if env_id == "ForagaxSineTwoBiome-v1":
|
|
638
700
|
biome1_oyster, biome1_deathcap, biome2_oyster, biome2_deathcap = (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|