Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing comment in Ants model #346

Open
ToonTalk opened this issue Mar 17, 2017 · 0 comments
Open

Missing comment in Ants model #346

ToonTalk opened this issue Mar 17, 2017 · 0 comments

Comments

@ToonTalk
Copy link

to look-for-food ;; turtle procedure
if food > 0
[ set color orange + 1 ;; pick up food
set food food - 1 ;; and reduce the food source
rt 180 ;; and turn around
stop ]
;; go in the direction where the chemical smell is strongest
if (chemical >= 0.05) and (chemical < 2)
[ uphill-chemical ]
end

The 'and (chemical < 2)' part of the conditional really should be explained. It is contrary to the comment and the description in the Info tab. I assume its purpose is to prevent those looking from food from following those returning to the nest since that is where there is lots of fresh (yet to be evaporated) pheromone.

I tried to find some explanation as to how real ants avoid this problem without any luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant