Closed colinhanrahan closed 2 months ago
Changing the findActiveQuadrants
behavior does not have an impact on examples that have the agent replacement rule enabled, does it?
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.
"environmentQuadrantSizeFactor"
between 0 and 1.findActiveQuadrants()
was wasting runtime being called every timestep, so it is now only called once at the beginning of the simulation.findActiveQuadrants()
is now a list of lists with each sublist being a quadrant. This will be very useful for adding specific tribes to quadrants, which can be added after this PR goes through.