netlogo - Equivalent to link-here? -


how 1 access link object @ current location of turtle? instance count number of times event occurs while traversing particular link.

i had (perhaps stupidly) assumed could:

ask link(s)-here [set count count + 1] 

but link-here not method , doesn't work.

any advice appreciated
many reading.

stephen

are turtles wandering around plane , happen cross on links? if so, see bryan's answer.

or, turtles intentionally walking along links? if latter, add:

turtles-own [current-link] 

and @ time turtle chooses link , begins following it, store link in variable.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -