Skip to content

Commit 82fe3ad

Browse files
committed
Fixed phase 6
Another complete parameter sweep, but with directed reproduction
1 parent 45717f1 commit 82fe3ad

2 files changed

Lines changed: 10 additions & 14 deletions

File tree

docs/experiments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ These phases should be completed sequentially, deepening our understanding at ea
3232
- Look for critical slowing down: perturbations to states closer to the critical point should more slowly return to the steady state
3333
- This requires time series data
3434
### Phase 6: model extensions
35-
- Investigate whether hydra effect and SOC still occur with diffusion and directed movement
35+
- Investigate whether hydra effect and SOC still occur with diffusion and directed reproduction
3636

3737
# Todo
3838
The main functionality is all complete. Thus, the models folder should be relatively untouched.

models/config.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -263,20 +263,16 @@ def estimate_runtime(self, n_cores: int = 32) -> str:
263263
timeseries_subsample=1, # Full resolution for autocorrelation
264264
)
265265

266-
# Phase 6: Model extensions (directed hunting); same config as phase 1 but with directed hunting
266+
# Phase 6: Model extensions (directed reproduction); same config as phase 4 but with directed reproduction
267267
PHASE6_CONFIG = Config(
268-
grid_size=1000,
269-
n_prey_death=20,
270-
prey_birth=0.2,
271-
prey_death_range=(0.09, 0.12),
272-
predator_birth=0.8,
273-
predator_death=0.05,
274-
n_replicates=30,
275-
warmup_steps=1000,
276-
measurement_steps=1000,
277-
collect_pcf=True,
278-
pcf_sample_rate=0.2,
279-
save_timeseries=False,
268+
grid_size=250,
269+
n_replicates=10,
270+
warmup_steps=500,
271+
measurement_steps=500,
272+
with_evolution=False,
273+
collect_pcf=False,
274+
save_timeseries=True,
275+
timeseries_subsample=10,
280276
directed_hunting=True,
281277
)
282278

0 commit comments

Comments
 (0)