
Hubnet-broadcast hubnet-broadcast-graphics hubnet-enter-message? hubnet-exit-message? hubnet-fetch-message hubnet-message hubnet-message-source hubnet-message-tag hubnet-message-waiting? hubnet-reset hubnet-send hubnet-send-graphics hubnet-set-client-interface Input/output primitivesīeep clear-output export-graphics export-interface export-output export-plot export-all-plots export-world get-date-and-time import-world mouse-down? mouse-xcor mouse-ycor output-print output-show output-type output-write print read-from-string reset-timer set-current-directory show timer type user-choice user-choose-directory user-choose-file user-choose-new-file user-input user-message user-yes-or-no? write File primitivesįile-at-end? file-close file-close-all file-delete file-exists? file-open file-print file-read file-read-characters file-read-line file-show file-type file-write user-choose-directory user-choose-file user-choose-new-file List primitivesīut-first but-last empty? filter first foreach fput is-list? item last length list lput map member? modes n-values position random-n-of random-one-of reduce remove remove-duplicates remove-item replace-item reverse sentence shuffle sort sort-by sublist values-from String primitives
#Netlogo crt Patch#
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 User Manual: Primitives Dictionary Categories of Primitives
