Wraparound disabled: the maximum distance between two cells is the hypotenuse of the environment
Wraparound enabled: the maximum distance is half of the hypotenuse
Cardinal range:
Wraparound disabled: the maximum distance between two cells is the longer side of the environment
Wraparound disabled: the maximum distance is half of the longer side of the environment
Agents can now have infinite cardinal or radial range with no issues (although it's really slow). I'm separately investigating a behavior I found with infinite range where given choice of any cell in the environment, some agents move to the very edges of peaks rather than the centers. Previously (on default settings), the radial ranges for cells went up to 49 even though no cell is farther than 35 units away from any other cell due to wraparound. This left a bunch of empty dictionaries which were never used, so I removed them.
Shortens range dictionaries to only include feasible distances--previously, radial range had empty distances
Radial range:
Cardinal range:
Agents can now have infinite cardinal or radial range with no issues (although it's really slow). I'm separately investigating a behavior I found with infinite range where given choice of any cell in the environment, some agents move to the very edges of peaks rather than the centers. Previously (on default settings), the radial ranges for cells went up to 49 even though no cell is farther than 35 units away from any other cell due to wraparound. This left a bunch of empty dictionaries which were never used, so I removed them.
Shortens range dictionaries to only include feasible distances--previously, radial range had empty distances