2
votes
Make turtles stop after crossing 5 patches in Netlogo?
Sure, the idea would be to let each bird use a counter to check how many times it changed patch. Everytime a bird moves, it will check if the patch it is on is different from the previous one; if that'...
1
vote
Accepted
How can I use Numpy functions instead of For-loops to access and manipulate adjacent array entries?
Main idea is that most pixels are not 3 or 7, and so their changes can be vectorized. Then we do the neighbor changes from 3's and 7's one by one. For competing influences, we keep track of it in ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
agent-based-modeling × 481netlogo × 230
anylogic × 135
simulation × 88
java × 57
python × 41
agent × 27
repast-simphony × 20
gis × 15
modeling × 13
statechart × 13
python-3.x × 8
performance × 8
multi-agent × 8
r × 7
list × 7
csv × 7
random × 7
economics × 7
mesa-abm × 7
social-networking × 6
oop × 5
if-statement × 5
optimization × 5
percentage × 5