nkremerh / sugarscape

Development repository for the Digital Terraria Lab implementation of the Sugarscape agent-based societal simulation.
https://github.com/digital-terraria-lab/sugarscape
MIT License
7 stars 11 forks source link

Adds variable quadrant sizing #72

Closed colinhanrahan closed 2 months ago

colinhanrahan commented 2 months ago
nkremerh commented 2 months ago

Changing the findActiveQuadrants behavior does not have an impact on examples that have the agent replacement rule enabled, does it?

colinhanrahan commented 2 months ago

Agent replacements spawn in whatever quadrants you enable as active. So if you only use quadrants 2 and 4 for the starting agents, the replacements will also only spawn in 2 and 4. I'm pretty sure this is the intended behavior.