![]() Sprout sprout- BREED stamp subtract-headings towards towards-nowrap towardsxy towardsxy-nowrap turtle turtles turtles-at turtles-from turtles-here turtles-on turtles-own uphill value-from Patch-related primitivesĭiffuse diffuse4 distance distance-nowrap distancexy distancexy-nowrap inspect is-patch? myself neighbors neighbors4 no-label nobody nsum nsum4 -of patch patch-at patch-ahead patch-at-heading-and-distance patch-here patch-left-and-ahead patch-right-and-ahead patches patches-from patches-own self sprout sprout- BREED value-from Agentset primitivesĪny? ask at-points BREED-at BREED-here BREED-on count histogram-from in-radius in-radius-nowrap is-agent? is-agentset? is-patch-agentset? is-turtle-agentset? max-one-of min-one-of neighbors neighbors4 one-of other-turtles-here other- BREED-here patches patches-from random-n-of random-one-of turtles with with-max with-min turtles-at turtles-from turtles-here turtles-on values-from Color primitivesĮxtract-hsb extract-rgb hsb rgb scale-color shade-of? wrap-color Control flow and logic primitivesĪnd carefully end error-message foreach if ifelse ifelse-value let loop map not or repeat report run runresult (semicolon) set stop startup to to-report wait while without-interruption xor Display primitivesĭisplay no-display no-label screen-edge-x screen-edge-y screen-size-x screen-size-y HubNet primitives Self set-default-shape setxy shapes showturtle Myself no-label nobody -of other-turtles-here other- BREED-here patch-ahead patch-at-heading-and-distance patch-here patch-left-and-ahead patch-right-and-ahead pen-down Run each command, consult each individual entry in the dictionary.īREED-at BREED-here BREED-on clear-turtlesĬreate- BREED create-custom- BREED create-custom-turtlesĭie distance distance-nowrap distancexy distancexy-nowrap downhill downhill4 dx dy forward To see which agent (turtles, patches, observer) can actually Primitive might still be called by patches or observers, and vice ![]() NetLogo 2.1.0 User Manual: Primitives Dictionary Categories of Primitives
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |