simple ant-based clustering algorithm simulated in NetLogo ()
1 repeat for a certain number of times
2 move randomly
3 if objec t found
4 pick it up
5 jump n steps
6 if other objec t is found
7 look for an empty place nearby
8 drop object
9 turn randomly
10 move n steps
programmer: Johannes Jungbluth
Code: