Skip to content

Instantly share code, notes, and snippets.

@SethTisue
Created May 24, 2012 01:25
Show Gist options
  • Save SethTisue/2778894 to your computer and use it in GitHub Desktop.
Save SethTisue/2778894 to your computer and use it in GitHub Desktop.
frequency of NetLogo primitive usage in Models Library
46097 java.lang.Double
11799 java.lang.String
11458 _observervariable
11074 _set
7992 _letvariable
5257 _turtlevariable
5254 _call
4377 _patchvariable
4330 _breedvariable
3393 _ask
3245 etc._if
3171 etc._observercode
3171 _done
3135 _equal
2577 _breed
2422 _turtleorlinkvariable
2379 _plus
2239 _minus
2175 _let
2115 etc._mult
1742 _with
1643 _of
1478 _procedurevariable
1411 etc._ifelse
1238 _callreport
1229 _turtles
1199 _and
1141 etc._div
1134 java.lang.Boolean
1072 _patches
1067 _count
965 etc._report
948 _greaterthan
799 etc._thunkdidfinish
775 _lessthan
704 _notequal
653 etc._ignore
607 etc._item
596 _not
570 _random
556 _any
519 _oneof
495 etc._randomfloat
451 _fd
447 etc._die
443 _or
440 etc._ticks
438 plot._plot
428 _createturtles
403 org.nlogo.api.Nobody$
392 _taskvariable
379 etc._lessorequal
369 etc._stop
369 etc._abs
368 etc._setxy
365 etc._clearall
361 plot._plotxy
356 etc._resetticks
339 etc._myself
339 _word
319 etc._length
303 etc._tick
299 etc._setdefaultshape
286 etc._greaterorequal
273 etc._outputprint
265 etc._maxpxcor
256 etc._round
256 etc._right
251 etc._pow
251 _breedhere
238 _patch
231 etc._mean
229 etc._maxpycor
222 _patchat
219 _list
217 hubnet._hubnetsend
214 etc._max
211 _sum
209 _sprout
203 plot._setcurrentplotpen
189 etc._mod
175 etc._lput
174 _externreport
168 _hatch
158 etc._while
158 etc._floor
157 _repeat
148 etc._display
148 _extern
144 gui._usermessage
137 gui._mousexcor
136 plot._setplotyrange
136 plot._setcurrentplot
136 etc._minpxcor
136 _other
133 etc._turtleshere
129 hubnet._hubnetmessagesource
128 etc._self
122 gui._mouseycor
122 etc._randomxcor
122 etc._foreach
121 etc._precision
120 plot._histogram
116 etc._sqrt
113 etc._randomycor
112 etc._worldwidth
111 etc._minpycor
105 etc._min
99 _turtle
93 etc._sin
93 etc._nof
92 etc._hideturtle
91 etc._patchahead
88 etc._left
88 _neighbors
87 plot._setplotxrange
87 etc._moveto
86 etc._scalecolor
84 etc._cos
81 plot._sethistogramnumbars
80 gui._mousedown
80 etc._pendown
79 _breedsingular
77 etc._atan
74 etc._inradius
73 etc._distancexy
71 etc._patchhere
71 etc._first
69 etc._ceil
68 etc._map
67 plot._plotpenreset
67 etc._sort
63 _links
62 etc._every
60 etc._wait
60 etc._showturtle
56 etc._position
55 hubnet._hubnetmessage
55 etc._dy
54 etc._face
53 etc._ifelsevalue
53 _neighbors4
52 hubnet._hubnetbroadcast
52 etc._remove
52 _linkvariable
51 etc._fput
51 _breedon
50 etc._dx
49 etc._worldheight
49 etc._distance
48 etc._randomnormal
48 etc._member
48 etc._butfirst
47 etc._nvalues
47 _jump
46 etc._minoneof
46 _linkneighbors
45 file._fileprint
44 etc._replaceitem
44 etc._filter
43 plot._clearplot
43 hubnet._hubnetmessagetag
43 etc._int
43 _createlinkfrom
42 _sentence
41 etc._turtleson
39 etc._cleardrawing
38 etc._turtlesat
38 etc._tickadvance
38 etc._run
37 etc._tie
37 etc._penup
36 plot._updateplots
35 etc._clearpatches
33 etc._readfromstring
33 etc._atpoints
31 plot._plotpenup
31 plot._plotpendown
31 etc._empty
30 hubnet._hubnetreset
30 hubnet._hubnetmessagewaiting
30 hubnet._hubnetfetchmessage
30 hubnet._hubnetexitmessage
30 hubnet._hubnetentermessage
30 etc._towards
28 etc._modes
28 etc._maxoneof
27 etc._shadeof
27 etc._last
27 etc._canmove
27 etc._all
27 _linkbreedvariable
26 plot._setplotpencolor
25 plot._plotymax
24 etc._log
24 _outlinkneighbors
23 plot._clearallplots
23 etc._diffuse
22 gui._useryesorno
22 etc._sublist
22 etc._clearturtles
21 gui._userinput
21 etc._isstring
21 etc._facexy
21 etc._experimentstepend
21 etc._end1
20 etc._removeduplicates
20 etc._clearoutput
19 etc._turtleset
19 etc._substring
19 _createlinkwith
18 etc._ln
17 plot._plotymin
17 gui._mouseinside
17 etc._distancenowrap
16 etc._towardsxy
14 file._fileclose
14 etc._watch
14 etc._subtractheadings
14 etc._subject
14 etc._randompxcor
14 etc._patchrightandahead
14 etc._inradiusnowrap
14 etc._hidelink
14 _myinlinks
14 _createorderedturtles
13 file._fileopen
13 etc._end2
13 _myoutlinks
13 _linkbreed
13 _createlinkto
12 etc._resetperspective
12 etc._randompycor
12 etc._patchset
12 etc._incone
12 etc._butlast
12 _createlinkswith
11 plot._plotpenexists
11 plot._createtemporaryplotpen
11 etc._stamp
11 etc._approximatergb
10 plot._setplotpeninterval
10 file._fileread
10 etc._tan
10 etc._runresult
10 etc._loop
9 plot._setplotpenmode
9 plot._plotxmax
9 etc._standarddeviation
9 etc._patchleftandahead
9 etc._isnumber
9 etc._extracthsb
9 etc._exp
9 _inlinkneighbor
9 _createlinksfrom
8 gui._useroneof
8 gui._usernewfile
8 etc._withmax
8 etc._sortby
8 etc._layoutcircle
8 _inlinkneighbors
8 _bk
7 plot._plotxmin
7 gui._userfile
7 file._filetype
7 etc._layoutspring
7 etc._importdrawing
7 etc._follow
7 etc._basecolors
7 _task
7 _carefully
6 etc._withmin
6 etc._reverse
6 etc._remainder
6 etc._reduce
6 etc._linklength
6 _linkneighbor
6 _errormessage
5 file._filewrite
5 file._fileexists
5 file._fileatend
5 etc._xor
5 etc._rgb
5 etc._randompoisson
5 etc._outputshow
5 etc._nodisplay
5 etc._ispatch
5 etc._islist
5 etc._exportworld
5 etc._dateandtime
4 plot._autoploton
4 plot._autoplotoff
4 hubnet._hubnetsendoverride
4 gui._moviegrabview
4 gui._inspect
4 etc._variance
4 etc._removeitem
4 etc._patchatheadinganddistance
4 etc._outputtype
4 etc._median
4 etc._linkheading
4 etc._importworld
4 etc._extractrgb
4 _outlinkto
4 _outlinkneighbor
4 _mylinks
4 _breedat
3 hubnet._hubnetsendfollow
3 hubnet._hubnetresetperspective
3 hubnet._hubnetclearoverrides
3 file._filedelete
3 etc._watchme
3 etc._timer
3 etc._resettimer
3 etc._nopatches
3 etc._isturtle
3 etc._importpatchcolors
3 etc._checksyntax
3 _askconcurrent
2 plot._setupplots
2 hubnet._hubnetsetclientinterface
2 hubnet._hubnetclearoverride
2 gui._moviestart
2 gui._movieclose
2 file._filereadline
2 etc._shapes
2 etc._setlinethickness
2 etc._randomseed
2 etc._noturtles
2 etc._importpcolorsrgb
2 etc._facenowrap
2 _isbreed
2 _createlinksto
1 plot._plotpenshow
1 plot._plotpenhide
1 hubnet._hubnetsendwatch
1 hubnet._hubnetbroadcastusermessage
1 gui._userdirectory
1 gui._moviestatus
1 file._filereadchars
1 etc._withoutinterruption
1 etc._uphill
1 etc._towardsnowrap
1 etc._sorton
1 etc._shuffle
1 etc._showlink
1 etc._ride
1 etc._newseed
1 etc._minnof
1 etc._ispatchset
1 etc._hsb
1 etc._exportview
1 etc._behaviorspacerunnumber
1 etc._approximatehsb
1 _linkwith
1 _inlinkfrom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment