Closed colinhanrahan closed 4 months ago
Going to add testing and validating this as an exercise for the first week of research work. Stay tuned.
Confirmed nearly identical trends across 50 seeds out to 1k timesteps.
Note: determinism with the current repo is maintained without the north-south switch. The only difference with the north-south switch is that the order of neighbor cells is slightly different, so it will still be slightly different after shuffles.
Current repo:
Cells
are indexed by(x, y)
or(width, height)
.Environment
is indexed by[height][width]
. See line 5 ofenvironment.py
.This PR:
Cell
(x, y)
makes more sense.Environment
is now indexed by[width][height]
(required changes to multiple files).find*Neighbor()
functions to look the same asfindNorthNeighbor()
.