

> (anonymous procedure) filter foreach is-anonymous-command? is-anonymous-reporter? map n-values reduce run runresult sort-byĭisplay import-drawing import-pcolors import-pcolors-rgb no-display max-pxcor max-pycor min-pxcor min-pycor patch-size reset-ticks resize-world set-patch-size stop-inspecting-dead-agents tick tick-advance ticks world-width world-height
#Netlogo foreach Patch#
Sprout sprout- stamp stamp-erase stop-inspecting subject subtract-headings tie towards towardsxy turtle turtle-set turtles turtles-at turtles-here turtles-on turtles-own untie uphill uphill4ĭiffuse diffuse4 distance distancexy import-pcolors import-pcolors-rgb inspect is-patch? myself neighbors neighbors4 nobody no-patches of other patch patch-at patch-ahead patch-at-heading-and-distance patch-here patch-left-and-ahead patch-right-and-ahead patch-set patches patches-own random-pxcor random-pycor self sprout sprout- stop-inspecting subject turtles-hereīoth-ends clear-links create-from create-from create-to create-to create-with create-with create-link-from create-links-from create-link-to create-links-to create-link-with create-links-with die directed-link-breed hide-link in-neighbor? in-neighbors in-from in-link-neighbor? in-link-neighbors in-link-from is-directed-link? is-link? is-link-set? is- ? is-undirected-link? layout-radial layout-spring layout-tutte -neighbor? -neighbors -with link-heading link-length link-neighbor? link links links-own -own link-neighbors link-with my- my-in- my-in-links my-links my-out- my-out-links no-links other-end out-neighbor? out-neighbors out-to out-link-neighbor? out-link-neighbors out-link-to show-link tie undirected-link-breed untie AgentsetĪll? any? ask ask-concurrent at-points -at -here -on count in-cone in-radius is-agent? is-agentset? is-patch-set? is-turtle-set? link-set max-n-of max-one-of member? min-n-of min-one-of n-of neighbors neighbors4 no-links no-patches no-turtles of one-of other patch-set patches sort sort-by sort-on turtle-set turtles turtles-at turtles-here turtles-on up-to-n-of with with-max with-minĪpproximate-hsb approximate-rgb base-colors color extract-hsb extract-rgb hsb import-pcolors import-pcolors-rgb pcolor rgb scale-color shade-of? wrap-colorĪnd ask ask-concurrent carefully end error error-message every if ifelse ifelse-value let loop not or repeat report run runresult (semicolon) set stop startup to to-report wait while with-local-randomness without-interruption xor Self set-default-shape _set-line-thickness setxy shapes show-turtle ( st)

Move-to myself nobody no-turtles of other patch-ahead patch-at patch-at-heading-and-distance patch-here patch-left-and-ahead patch-right-and-ahead pen-down ( pd) Home inspect is- ? is-turtle? jump layout-circle left ( lt)

at -here -on can-move? clear-turtles ( ct)Ĭreate- create-ordered- create-ordered-turtles ( cro)ĭie distance distancexy downhill downhill4 dx dy face facexy forward ( fd) To see which agents (turtles, patches, links, observer) canĪctually run a primitive, consult its dictionary entry. Primitive might still be used by patches or the observer, and vice Special: Variables - Keywords - Constants
