continual-foragax 0.30.0__py3-none-any.whl → 0.30.1__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.30.0.dist-info → continual_foragax-0.30.1.dist-info}/METADATA +1 -1
- {continual_foragax-0.30.0.dist-info → continual_foragax-0.30.1.dist-info}/RECORD +6 -6
- foragax/objects.py +2 -3
- {continual_foragax-0.30.0.dist-info → continual_foragax-0.30.1.dist-info}/WHEEL +0 -0
- {continual_foragax-0.30.0.dist-info → continual_foragax-0.30.1.dist-info}/entry_points.txt +0 -0
- {continual_foragax-0.30.0.dist-info → continual_foragax-0.30.1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
foragax/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
foragax/colors.py,sha256=rqNPiywP4Nvr0POhsGpasRk-nMMTS3DOwFRUgperlUk,2065
|
3
3
|
foragax/env.py,sha256=4NZ5JsUGjAepmzw2uxu5_ikyVZnZ7vazy062Xzx22Zg,27481
|
4
|
-
foragax/objects.py,sha256=
|
4
|
+
foragax/objects.py,sha256=M0nECANGfUvvBRMKSS7akGtoO2Suv5eroI-9Aj326sw,10368
|
5
5
|
foragax/registry.py,sha256=Dxg6cWIPwg91fNrCPxADJv35u6jFg_8dI5iTpCMFEFA,15229
|
6
6
|
foragax/rendering.py,sha256=bms7wvBZTofoR-K-2QD2Ggeed7Viw8uwAEiEpEM3eSo,2768
|
7
7
|
foragax/weather.py,sha256=KNAiwuFz8V__6G75vZIWQKPocLzXqxXn-Vt4TbHIpcA,1258
|
@@ -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.30.
|
132
|
-
continual_foragax-0.30.
|
133
|
-
continual_foragax-0.30.
|
134
|
-
continual_foragax-0.30.
|
135
|
-
continual_foragax-0.30.
|
131
|
+
continual_foragax-0.30.1.dist-info/METADATA,sha256=9iwHDGT1ZbvjL_CNRFQRQsPBPWKTFBetxrJPk_OXKug,4897
|
132
|
+
continual_foragax-0.30.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
133
|
+
continual_foragax-0.30.1.dist-info/entry_points.txt,sha256=Qiu6iE_XudrDO_bVAMeA435h4PO9ourt8huvSHiuMPc,41
|
134
|
+
continual_foragax-0.30.1.dist-info/top_level.txt,sha256=-z3SDK6RfLIcLI24n8rdbeFzlVY3hunChzlu-v1Fncs,8
|
135
|
+
continual_foragax-0.30.1.dist-info/RECORD,,
|
foragax/objects.py
CHANGED
@@ -135,13 +135,12 @@ class WeatherObject(NormalRegenForagaxObject):
|
|
135
135
|
reward_delay=reward_delay,
|
136
136
|
max_reward_delay=max_reward_delay,
|
137
137
|
)
|
138
|
-
self.rewards = rewards
|
138
|
+
self.rewards = rewards * multiplier
|
139
139
|
self.repeat = repeat
|
140
|
-
self.multiplier = multiplier
|
141
140
|
|
142
141
|
def reward(self, clock: int, rng: jax.Array) -> float:
|
143
142
|
"""Reward is based on temperature."""
|
144
|
-
return get_temperature(self.rewards, clock, self.repeat)
|
143
|
+
return get_temperature(self.rewards, clock, self.repeat)
|
145
144
|
|
146
145
|
|
147
146
|
EMPTY = DefaultForagaxObject()
|
File without changes
|
File without changes
|
File without changes
|