Hacker News new | ask | show | jobs
by detritus 1442 days ago
May I ask - in the early stages, when a wandering ant encounters its first food pheromone trail, is there a logic that dictates which direction it chooses to then follow? It has two options - towards the source of the food, or away from. The latter resulting in a wasted journey home before a hoped-for bounce back.

- ed - it seems to me that they always go towards the food, is all.

- ed - ed : Great work, btw! SimAnt was a big favourite as a kid, so this is right up my street! :)

1 comments

What happens when there is a circular path. Do all ants follow it until they die?
Yes. The system breaks down locally.

https://en.wikipedia.org/wiki/Ant_mill

- ed - d'oh, sorry - I have no idea how this works in the simulation, but I guess This. :)