Serendip is an independent site partnering with faculty at multiple colleges and universities around the world. Happy exploring!

You are here

Netlogo and the ant

Leslie McTavish's picture
I've found something that I found interesting with the ant. Given 2 ants and enough time, more times than not (I think I've tried it 4 or 5 times and it's only failed once) the two ants will eventually retrace their steps back to the beginning, erasing everything they have done, and then start all over again. Curious, no? Perhaps I never ran Langton's ant long enough to see of this would happen with his one ant..


PaulGrobstein's picture

Assume you set this up yourself, in NetLogo? Where are the two ants relative to one another? Is deterministic, no? So, "tried it 4 or 5 times" means from different starting points? Maybe show it in class on Monday?
Leslie McTavish's picture

Let me try it a few more times.. The staring points are random. I'd like to try to find a relationship between the proximity of their starting points, and how soon or even if they tend to display this behavior.
julia_ferraioli's picture

I've tried running a single ant for large periods of time, curious to see if it would create a new pattern besides the "road". It hasn't so far, so I doubt that it would end up retracing its steps. In fact, besides the original road, it doesn't even create any new roads.