NetLogo 6.0.2 User Manual Net Logo
NetLogo%20User%20Manual
NetLogo%20User%20Manual
User Manual: Pdf
Open the PDF directly: View PDF .
Page Count: 438 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Table of Contents
- What is NetLogo?
- Copyright and License Information
- What's New?
- Version 6.0.2 (August 2017)
- Version 6.0.1 (March 2017)
- Version 6.0 (December 2016)
- Version 5.3.1 (February 2016)
- Version 5.3 (December 2015)
- Version 5.2.1 (September 2015)
- Version 5.2.0 (April 2015)
- Version 5.1.0 (July 2014)
- Version 5.0.4 (March 2013)
- Version 5.0 (February 2012)
- Version 4.1.3 (April 2011)
- Version 4.1 (December 2009)
- Version 4.0 (September 2007)
- Version 3.1 (April 2006)
- Version 3.0 (September 2005)
- Version 2.1 (December 2004)
- Version 2.0.2 (August 2004)
- Version 2.0 (December 2003)
- Version 1.3 (June 2003)
- Version 1.2 (March 2003)
- Version 1.1 (July 2002)
- Version 1.0 (April 2002)
- System Requirements
- Contacting Us
- Sample Model: Party
- Tutorial #1: Models
- Tutorial #2: Commands
- Tutorial #3: Procedures
- Interface Guide
- Interface Tab Guide
- Info Tab
- Code Tab Guide
- Programming Guide
- Transition Guide
- Changes for NetLogo 6.0
- Tasks replaced by Anonymous Procedures
- Link reporters overhauled to be more consistent and flexible
- Removal of Applets
- Changes to the NetLogo User Interface
- Nobody Not Permitted as a Chooser Value
- Breeds must have singular and plural names
- Removal of "Movie" Prims
- Improved Name Collision Detection
- Removal of hubnet-set-client-interface
- Improved & Updated Extensions API
- Add range primitive
- Changes for NetLogo 5.2
- Changes for NetLogo 5.0
- Changes for NetLogo 4.1
- Changes for NetLogo 4.0
- Changes for NetLogo 3.1
- Changes for NetLogo 6.0
- Shapes Editor Guide
- BehaviorSpace Guide
- System Dynamics Guide
- HubNet Guide
- Understanding HubNet
- Computer HubNet
- Activities
- Clients
- Requirements
- Starting an activity
- HubNet Control Center
- Troubleshooting
- I started a HubNet activity, but when participants open a HubNet Client, my activity isn't listed.
- When a participant tries to connect to an activity, nothing happens (the client appears to hang or gives an error saying that no server was found).
- The view on the HubNet client is gray.
- There is no view on the HubNet client.
- I can't quit a HubNet client.
- My computer went to sleep while running a HubNet activity. When I woke the computer up, I got an error and HubNet wouldn't work anymore.
- My problem is not addressed on this page.
- Known Limitations
- Teacher workshops
- HubNet Authoring Guide
- Running HubNet in headless mode
- Getting help
- HubNet Authoring Guide
- Modeling Commons Guide
- Logging
- Controlling Guide
- Mathematica Link
- NetLogo 3D
- Introduction
- Tutorial
- Dictionary
- Commands and Reporters
- Built-In Variables
- Primitives
- at-points4.1
- distancexyz4.1 distancexyz-nowrap4.1
- dz4.1
- face facexyz4.1
- left4.1
- link-pitch4.1.2
- load-shapes-3d4.1
- max-pzcor4.1 min-pzcor4.1
- neighbors4.1 neighbors64.1
- orbit-down4.1 orbit-left4.1 orbit-right4.1 orbit-up4.1
- __oxcor __oycor __ozcor
- patch4.1
- patch-at4.1
- patch-at-heading-pitch-and-distance4.1
- pitch
- pzcor
- random-pzcor4.1
- random-zcor4.1
- right4.1
- roll
- roll-left4.1
- roll-right4.1
- setxyz4.1
- tilt-down4.1 tilt-up4.1
- towards-pitch4.1 towards-pitch-nowrap4.1
- towards-pitch-xyz4.1 towards-pitch-xyz-nowrap4.1
- turtles-at4.1 <breeds>-at
- world-depth4.1
- zcor
- zoom4.1
- Extensions Guide
- NetLogo Arduino Extension
- NetLogo Array Extension
- NetLogo Bitmap Extension
- NetLogo Cf Extension
- NetLogo Csv Extension
- NetLogo Gis Extension
- Using
- Primitives
- RasterDataset Primitives
- Dataset Primitives
- VectorDataset Primitives
- Coordinate System Primitives
- Drawing Primitives
- gis:set-transformation
- gis:set-transformation-ds
- gis:set-world-envelope
- gis:set-world-envelope-ds
- gis:world-envelope
- gis:envelope-of
- gis:envelope-union-of
- gis:load-coordinate-system
- gis:set-coordinate-system
- gis:load-dataset
- gis:store-dataset
- gis:type-of
- gis:patch-dataset
- gis:turtle-dataset
- gis:link-dataset
- gis:shape-type-of
- gis:property-names
- gis:feature-list-of
- gis:vertex-lists-of
- gis:centroid-of
- gis:location-of
- gis:property-value
- gis:find-features
- gis:find-one-feature
- gis:find-less-than
- gis:find-greater-than
- gis:find-range
- gis:property-minimum
- gis:property-maximum
- gis:apply-coverage
- gis:coverage-minimum-threshold
- gis:set-coverage-minimum-threshold
- gis:coverage-maximum-threshold
- gis:set-coverage-maximum-threshold
- gis:intersects?
- gis:contains?
- gis:contained-by?
- gis:have-relationship?
- gis:relationship-of
- gis:intersecting
- gis:width-of
- gis:height-of
- gis:raster-value
- gis:set-raster-value
- gis:minimum-of
- gis:maximum-of
- gis:sampling-method-of
- gis:set-sampling-method
- gis:raster-sample
- gis:raster-world-envelope
- gis:create-raster
- gis:resample
- gis:convolve
- gis:apply-raster
- gis:drawing-color
- gis:set-drawing-color
- gis:draw
- gis:fill
- gis:paint
- gis:import-wms-drawing
- NetLogo Gogo Extension
- Usage
- Changes
- Primitives
- Other Outputs
- Utilities
- General
- Sensors
- Outputs and Servos
- gogo:primitives
- gogo:howmany-gogos
- gogo:talk-to-output-ports
- gogo:set-output-port-power
- gogo:output-port-on
- gogo:output-port-off
- gogo:output-port-clockwise
- gogo:output-port-counterclockwise
- gogo:set-servo
- gogo:led
- gogo:beep
- gogo:read-sensors
- gogo:read-sensor
- gogo:read-all
- gogo:send-bytes
- NetLogo Ls Extension
- LevelSpace fundamentals
- Citing LevelSpace in Research
- Primitives
- NetLogo Matrix Extension
- Using
- Primitives
- Matrix creation and conversion to/from lists
- Advanced features
- Matrix data retrieval and manipulation
- Math operations
- matrix:make-constant
- matrix:make-identity
- matrix:from-row-list
- matrix:from-column-list
- matrix:to-row-list
- matrix:to-column-list
- matrix:copy
- matrix:pretty-print-text
- matrix:get
- matrix:get-row
- matrix:get-column
- matrix:set
- matrix:set-row
- matrix:set-column
- matrix:swap-rows
- matrix:swap-columns
- matrix:set-and-report
- matrix:dimensions
- matrix:submatrix
- matrix:map
- matrix:times-scalar
- matrix:times
- matrix:*
- matrix:times-element-wise
- matrix:plus-scalar
- matrix:plus
- matrix:+
- matrix:minus
- matrix:-
- matrix:inverse
- matrix:transpose
- matrix:real-eigenvalues
- matrix:imaginary-eigenvalues
- matrix:eigenvectors
- matrix:det
- matrix:rank
- matrix:trace
- matrix:solve
- matrix:forecast-linear-growth
- matrix:forecast-compound-growth
- matrix:forecast-continuous-growth
- matrix:regress
- NetLogo Nw Extension
- Usage
- A note regarding floating point calculations
- Performance
- Primitives
- Generators
- Path and Distance
- Clusterer/Community Detection
- Context Management
- Import and Export
- Centrality Measures
- Clustering Measures
- nw:set-context
- nw:get-context
- nw:with-context
- nw:turtles-in-radius
- nw:turtles-in-reverse-radius
- nw:distance-to
- nw:weighted-distance-to
- nw:path-to
- nw:turtles-on-path-to
- nw:weighted-path-to
- nw:turtles-on-weighted-path-to
- nw:mean-path-length
- nw:mean-weighted-path-length
- nw:betweenness-centrality
- nw:eigenvector-centrality
- nw:page-rank
- nw:closeness-centrality
- nw:weighted-closeness-centrality
- nw:clustering-coefficient
- nw:modularity
- nw:bicomponent-clusters
- nw:weak-component-clusters
- nw:louvain-communities
- nw:maximal-cliques
- nw:biggest-maximal-cliques
- nw:generate-preferential-attachment
- nw:generate-random
- nw:generate-watts-strogatz
- nw:generate-small-world
- nw:generate-lattice-2d
- nw:generate-ring
- nw:generate-star
- nw:generate-wheel
- nw:save-matrix
- nw:load-matrix
- nw:save-graphml
- nw:load-graphml
- nw:load
- nw:save
- NetLogo Palette Extension
- NetLogo Profiler Extension
- NetLogo R Extension
- NetLogo Rnd Extension
- NetLogo Sound Extension
- NetLogo Table Extension
- NetLogo Vid Extension
- Concepts
- Primitives
- vid:camera-names
- vid:camera-open
- vid:camera-select
- vid:movie-select
- vid:movie-open
- vid:movie-open-remote
- vid:close
- vid:start
- vid:stop
- vid:status
- vid:capture-image
- vid:set-time
- vid:show-player
- vid:hide-player
- vid:record-view
- vid:record-interface
- vid:record-source
- vid:recorder-status
- vid:start-recorder
- vid:save-recording
- NetLogo View2.5d Extension
- How to Use
- Primitives
- view2.5d:patch-view
- view2.5d:decorate-patch-view
- view2.5d:undecorate-patch-view
- view2.5d:turtle-view
- view2.5d:update-all-patch-views
- view2.5d:update-patch-view
- view2.5d:update-turtle-view
- view2.5d:get-z-scale
- view2.5d:set-z-scale
- view2.5d:set-turtle-stem-thickness
- view2.5d:get-observer-angles
- view2.5d:set-observer-angles
- view2.5d:get-observer-xy-focus
- view2.5d:set-observer-xy-focus
- view2.5d:get-observer-distance
- view2.5d:set-observer-distance
- view2.5d:remove-patch-view
- view2.5d:remove-turtle-view
- view2.5d:remove-all-patch-views
- view2.5d:remove-all-turtle-views
- view2.5d:count-windows
- FAQ (Frequently Asked Questions)
- Questions
- General
- Why is it called NetLogo?
- How do I cite NetLogo or HubNet in a publication?
- How do I cite a model from the Models Library in a publication?
- Where and when was NetLogo created?
- What programming language was NetLogo written in?
- What's the relationship between StarLogo and NetLogo?
- Under what license is NetLogo released? Is the source code available?
- Do you offer any workshops or other training opportunities for NetLogo?
- Are there any NetLogo textbooks?
- Is NetLogo available in other languages besides English?
- Is NetLogo compiled or interpreted?
- Has anyone built a model of <x>?
- Are NetLogo models runs scientifically reproducible?
- Will NetLogo and NetLogo 3D remain separate?
- Can I run NetLogo on my phone or tablet?
- Downloading
- Running
- Can I run NetLogo from a CD, a network drive, or a USB drive?
- Why is NetLogo so much slower when I unplug my Windows laptop?
- Why does NetLogo bundle Java?
- How come NetLogo won't start up on my Linux machine?
- When I try to install NetLogo on Windows, I see "Windows protected your PC"
- When I try to start NetLogo on Windows I get an error "The JVM could not be started". Help!
- NetLogo won't start on Mac OS Sierra (or later)
- NetLogo won't start on Windows or crashes suddenly on Mac OS Sierra
- Can I run NetLogo from the command line, without the GUI?
- Does NetLogo take advantage of multiple processors?
- Can I distribute NetLogo model runs across a cluster or grid of computers?
- Is there any way to recover lost work if NetLogo crashes or freezes?
- Usage
- When I move the speed slider all the way to the right, why does my model seem to stop?
- Can I use the mouse to "paint" in the view?
- How big can my model be? How many turtles, patches, procedures, buttons, and so on can my model contain?
- Can I use GIS data in NetLogo?
- My model runs slowly. How can I speed it up?
- Can I have more than one model open at a time?
- Can I change the choices in a chooser on the fly?
- Can I divide the code for my model up into several files?
- Programming
- How does the NetLogo language differ from other Logos?
- How come my model from an earlier NetLogo doesn't work right?
- How do I take the negative of a number?
- My turtle moved forward 1, but it's still on the same patch. Why?
- How do I keep my turtles on patch centers?
- patch-ahead 1 is reporting the same patch my turtle is already standing on. Why?
- How do I give my turtles "vision"?
- Can agents sense what's in the drawing layer?
- I'm getting numbers like 0.10000000004 and 0.799999999999 instead of 0.1 and 0.8. Why?
- The documentation says that random-float 1 might return 0 but will never return 1. What if I want 1 to be included?
- How can I keep two turtles from occupying the same patch?
- How can I find out if a turtle is dead?
- Does NetLogo have arrays?
- Does NetLogo have hash tables or associative arrays?
- How can I use different patch "neighborhoods" (circular, Von Neumann, Moore, etc.)?
- How can I convert an agentset to a list of agents, or vice versa?
- How do I stop foreach?
- I'm trying to make a list. Why do I keep getting the error "Expected a constant"?
- BehaviorSpace
- NetLogo 3D
- Extensions
- NetLogo Dictionary
- Categories
- Built-In Variables
- Keywords
- Constants
- A
- B
- C
- can-move?3.1
- carefully2.1
- ceiling1.0
- clear-all1.0 ca1.0
- clear-all-plots1.0
- clear-drawing3.0 cd3.0
- clear-globals5.2
- clear-links4.0
- clear-output1.0
- clear-patches1.0 cp1.0
- clear-plot
- clear-ticks5.0
- clear-turtles1.0 ct1.0
- color
- cos1.0
- count1.0
- create-ordered-turtles4.0 cro4.0
- create-<breed>-to create-<breeds>-to create-<breed>-from create-<breeds>-from create-<breed>-with create-<breeds>-with create-link-to4.0 create-links-to4.0 create-link-from4.0 create-links-from4.0 create-link-with4.0 create-links-with4.0
- create-turtles1.0 crt1.0
- create-temporary-plot-pen1.1
- D
- E
- F
- G
- H
- hatch1.0
- heading
- hidden?
- hide-link4.0
- hide-turtle1.0 ht1.0
- histogram1.0
- home1.0
- hsb1.0
- hubnet-broadcast1.1
- hubnet-broadcast-clear-output4.1
- hubnet-broadcast-message4.1
- hubnet-clear-override4.1 hubnet-clear-overrides4.1
- hubnet-clients-list5.0
- hubnet-enter-message?1.2.1
- hubnet-exit-message?1.2.1
- hubnet-fetch-message1.1
- hubnet-kick-client5.0
- hubnet-kick-all-clients5.0
- hubnet-message1.1
- hubnet-message-source1.1
- hubnet-message-tag1.1
- hubnet-message-waiting?1.1
- hubnet-reset1.1
- hubnet-reset-perspective4.1
- hubnet-send1.1
- hubnet-send-clear-output4.1
- hubnet-send-follow4.1
- hubnet-send-message4.1
- hubnet-send-override4.1
- hubnet-send-watch4.1
- I
- if1.0
- ifelse1.0
- ifelse-value2.0
- import-drawing3.0
- import-pcolors3.0
- import-pcolors-rgb4.0
- import-world1.0
- in-cone3.0
- in-<breed>-neighbor? in-link-neighbor?4.0
- in-<breed>-neighbors in-link-neighbors4.0
- in-<breed>-from in-link-from4.0
- __includes4.0
- in-radius1.0
- insert-item6.0.2
- inspect1.1
- int1.0
- is-agent?1.2.1 is-agentset?1.2.1 is-anonymous-command?6.0 is-anonymous-reporter?6.0 is-boolean?1.2.1 is-directed-link?4.0 is-link?4.0 is-link-set?4.0 is-list?1.0 is-number?1.2.1 is-patch?1.2.1 is-patch-set?4.0 is-string?1.0 is-turtle?1.2.1 is-turtle-set?4.0 is-undirected-link?4.0
- item1.0
- J
- L
- M
- map1.3
- max1.0
- max-n-of4.0
- max-one-of1.0
- max-pxcor3.1 max-pycor3.1
- mean1.0
- median1.0
- member?1.0
- min1.0
- min-n-of4.0
- min-one-of1.0
- min-pxcor3.1 min-pycor3.1
- mod1.0
- modes2.0
- mouse-down?1.0
- mouse-inside?3.0
- mouse-xcor1.0 mouse-ycor1.0
- move-to4.0
- my-<breeds> my-links4.0
- my-in-<breeds> my-in-links4.0
- my-out-<breeds> my-out-links4.0
- myself1.0
- N
- O
- P
- patch1.0
- patch-ahead2.0
- patch-at1.0
- patch-at-heading-and-distance2.0
- patch-here1.0
- patch-left-and-ahead2.0 patch-right-and-ahead2.0
- patch-set4.0
- patch-size4.1
- patches1.0
- patches-own
- pcolor
- pen-down1.0 pd1.0 pen-erase3.0 pe3.0 pen-up1.0 pu1.0
- pen-mode
- pen-size
- plabel
- plabel-color
- plot1.0
- plot-name1.0
- plot-pen-exists?4.0
- plot-pen-down1.0 plot-pen-up1.0
- plot-pen-reset1.0
- plotxy1.0
- plot-x-min1.0 plot-x-max1.0 plot-y-min1.0 plot-y-max1.0
- position1.0
- precision1.0
- print1.0
- pxcor pycor
- R
- random1.0
- random-float2.0
- random-exponential1.2.1 random-gamma2.0 random-normal1.2.1 random-poisson1.2.1
- random-pxcor3.1 random-pycor3.1
- random-seed1.0
- random-xcor3.1 random-ycor3.1
- range6.0
- read-from-string1.1
- reduce1.3
- remainder1.2.1
- remove1.0
- remove-duplicates1.0
- remove-item2.0
- repeat1.0
- replace-item1.0
- report1.0
- reset-perspective3.0 rp3.0
- reset-ticks4.0
- reset-timer1.0
- resize-world4.1
- reverse1.0
- rgb1.0
- ride3.0
- ride-me3.0
- right1.0 rt1.0
- round1.0
- run1.3 runresult1.3
- S
- scale-color1.0
- self1.3
- ; (semicolon)
- sentence1.0 se1.0
- set1.0
- set-current-directory2.0
- set-current-plot1.0
- set-current-plot-pen1.0
- set-default-shape1.0
- set-histogram-num-bars1.0
- __set-line-thickness
- set-patch-size4.1
- set-plot-background-color6.0.2
- set-plot-pen-color1.0
- set-plot-pen-interval1.0
- set-plot-pen-mode1.0
- setup-plots5.0
- set-plot-x-range1.0 set-plot-y-range1.0
- setxy1.0
- shade-of?1.0
- shape
- shapes2.1
- show1.0
- show-turtle1.0 st1.0
- show-link4.0
- shuffle2.0
- sin1.0
- size
- sort1.0
- sort-by1.3
- sort-on5.0
- sprout1.0
- sqrt1.0
- stamp1.0
- stamp-erase3.1
- standard-deviation1.0
- startup
- stop1.0
- stop-inspecting5.2
- stop-inspecting-dead-agents5.2
- subject3.0
- sublist2.1 substring1.0
- subtract-headings2.1
- sum1.0
- T
- U
- V
- W
- X
- Y
- ->
TheNetLogo6.0.2UserManual
2
26
26
28
28
28
28
28
28
29
29
29
29
30
30
30
30
31
31
32
32
33
33
33
34
34
34
35
35
35
35
36
37
37
37
37
37
37
38
38
38
39
39
39
39
40
40
41
41
42
42
42
43
43
44
44
45
TableofContents
TableofContents
WhatisNetLogo?
Features
CopyrightandLicenseInformation
Howtoreference
Acknowledgments
NetLogolicense
Commerciallicenses
NetLogoUserManuallicense
Opensource
Thirdpartylicenses
Scala
MersenneTwisterFast
Colt
Config
ApacheCommonsCodec(TM)
Flexmark
JHotDraw
JOGL
Matrix3D
ASM
Log4j
PicoContainer
Parboiled
RSyntaxTextArea
JCodec
Java-Objective-CBridge
Webcam-capture
Guava
Gephi
RExtension
JNA
What'sNew?
Version6.0.2(August2017)
FeatureChanges
Bugfixes
ExtensionChanges
DocumentationChanges
ModelChanges
Version6.0.1(March2017)
FeatureChanges
Bugfixes
ExtensionChanges
DocumentationChanges
Models
Version6.0(December2016)
FeatureChanges
Bugfixes
LanguageChanges
ExtensionChanges
OperatingSystemSupport
DocumentationChanges
InternationalizationChanges
Models
Version5.3.1(February2016)
FeatureChanges
ExtensionChanges
45
45
45
45
45
45
45
46
46
46
46
47
47
47
47
48
48
49
49
49
49
49
49
50
50
50
50
50
50
51
51
51
51
51
51
51
53
53
53
53
53
54
54
56
56
57
58
58
59
59
60
62
62
62
62
Bugfixes
Version5.3(December2015)
FeatureChanges
ExtensionChanges
Version5.2.1(September2015)
Extensions
Newfeatures
Bugfixes
Modelchanges
Version5.2.0(April2015)
Extensions
Newfeatures
Bugfixes
Modelchanges
Version5.1.0(July2014)
Version5.0.4(March2013)
Version5.0(February2012)
Version4.1.3(April2011)
Version4.1(December2009)
Version4.0(September2007)
Version3.1(April2006)
Version3.0(September2005)
Version2.1(December2004)
Version2.0.2(August2004)
Version2.0(December2003)
Version1.3(June2003)
Version1.2(March2003)
Version1.1(July2002)
Version1.0(April2002)
SystemRequirements
ApplicationRequirements
Windows
MacOSX
Linux
3DRequirements
32-bitor64-bit?
ContactingUs
Website
Feedback,questions,etc.
Reportingbugs
Opensource
SampleModel:Party
AtaParty
Challenge
Thinkingwithmodels
What'snext?
Tutorial#1:Models
SampleModel:WolfSheepPredation
ControllingtheModel:Buttons
Controllingspeed:SpeedSlider
AdjustingSettings:SlidersandSwitches
GatheringInformation:PlotsandMonitors
Plots
Monitors
ControllingtheView
66
66
66
66
67
67
68
68
68
71
72
76
77
77
77
79
79
80
80
81
82
83
84
85
86
87
87
88
89
89
89
93
93
93
94
94
95
95
96
97
98
100
100
101
101
101
101
102
103
103
105
105
106
106
ModelsLibrary
SampleModels
CurricularModels
CodeExamples
HubNetActivities
What'sNext?
Tutorial#2:Commands
SampleModel:TrafficBasic
CommandCenter
Workingwithcolors
AgentMonitorsandAgentCommanders
What'sNext?
Tutorial#3:Procedures
Agentsandprocedures
Makingthesetupbutton
Switchingtotick-basedviewupdates
Makingthegobutton
Experimentingwithcommands
Patchesandvariables
Turtlevariables
Monitors
Switchesandlabels
Moreprocedures
Plotting
Tickcounter
Somemoredetails
What'snext?
Appendix:Completecode
InterfaceGuide
Menus
Chart:NetLogomenus
Tabs
InternationalUsage
Charactersets
Languages
Supportfortranslators
InterfaceTabGuide
Workingwithinterfaceelements
Chart:InterfaceToolbar
The2Dand3Dviews
Manipulatingthe3DView
CommandCenter
Reporters
Accessingpreviouscommands
Clearing
Arranging
Plots
PlotPens
Sliders
AgentMonitors
InfoTab
Editing
Headings
Input
107
107
107
107
107
107
107
107
107
108
108
108
108
108
108
109
109
109
110
110
111
111
111
111
111
111
112
112
112
112
112
113
113
113
114
115
116
117
117
118
119
120
121
121
121
123
125
126
126
127
128
128
130
134
135
136
136
Paragraphs
Example
Formatted
Italicizedandboldtext
Example
Formatted
Orderedlists
Example
Formatted
Unorderedlists
Example
Formatted
Links
Automaticlinks
Linkswithtext
Locallinks
Images
Example
Formatted
Localimages
Blockquotations
Example
Formatted
Code
Example
Formatted
Codeblocks
Example
Formatted
Superscriptsandsubscripts
Example
Formatted
Notesonusage
Otherfeatures
CodeTabGuide
IncludedFilesMenu
Automaticindentation
ProgrammingGuide
Agents
Procedures
Variables
Tickcounter
Whentotick
Fractionalticks
Colors
Ask
Agentsets
Specialagentsets
Agentsetsandlists
Breeds
Linkbreeds
Buttons
Lists
Math
Randomnumbers
Auxiliarygenerator
Localrandomness
136
137
137
137
138
138
139
139
139
139
140
140
141
141
141
142
142
142
143
143
144
145
146
146
147
150
152
152
152
152
153
153
153
153
153
154
154
154
156
156
156
156
157
157
157
157
157
157
157
157
158
158
160
160
160
161
162
163
163
Turtleshapes
Linkshapes
Viewupdates
Continuousupdates
Tick-basedupdates
Choosingamode
Framerate
Plotting
Plottingpoints
Plotcommands
Otherkindsofplots
Histograms
Clearingandresetting
Rangesandautoscaling
UsingaLegend
Temporaryplotpens
set-current-plotandset-current-plot-pen
Conclusion
Strings
Output
FileI/O
Movies
Perspective
Drawing
Topology
Links
Anonymousprocedures
Anonymousprocedureprimitives
Anonymousprocedureinputs
Anonymousproceduresandstrings
Concisesyntax
Anonymousproceduresasclosures
Nonlocalexits
Anonymousproceduresandextensions
Limitations
WhatisOptional?
Codeexample
Ask-Concurrent
UserInteractionPrimitives
Whatdoes"Halt"mean?
Tie
Multiplesourcefiles
Syntax
Colors
Notice
Keywords
Identifiers
Scope
Comments
Structure
Commandsandreporters
ComparedtootherLogos
TransitionGuide
ChangesforNetLogo6.0
TasksreplacedbyAnonymousProcedures
Linkreportersoverhauledtobemoreconsistentandflexible
RemovalofApplets
ChangestotheNetLogoUserInterface
NobodyNotPermittedasaChooserValue
163
163
164
164
164
165
165
165
165
165
165
166
167
167
168
168
168
169
169
170
170
170
170
171
171
172
173
173
174
175
175
176
176
177
177
177
177
177
179
179
179
181
181
181
182
182
182
182
182
182
182
183
183
185
185
185
186
186
186
188
Breedsmusthavesingularandpluralnames
Removalof"Movie"Prims
ImprovedNameCollisionDetection
Removalofhubnet-set-client-interface
Improved&UpdatedExtensionsAPI
Addrangeprimitive
ChangesforNetLogo5.2
hsbprimitives
GoGoextension
ChangesforNetLogo5.0
Plotting
Tickcounter
Unicodecharacters
Infotabs
Modelspeed
Listperformance
ExtensionsAPI
ChangesforNetLogo4.1
Combiningsetandof
ChangesforNetLogo4.0
Whonumbering
Turtlecreation:randomizedvs."ordered"
Addingstringsandlists
The-atprimitives
Links
New"of"syntax
Serialask
Tickcounter
Viewupdatemodes
Speedslider
Numbers
Agentsetbuilding
RGBColors
Tie
ChangesforNetLogo3.1
Agentsets
Wrapping
Randomturtlecoordinates
ShapesEditorGuide
Gettingstarted
Importingshapes
Creatingandeditingturtleshapes
Tools
Previews
Overlappingshapes
Undo
Colors
Otherbuttons
Shapedesign
Keepingashape
Creatingandeditinglinkshapes
Changinglinkshapeproperties
Usingshapesinamodel
BehaviorSpaceGuide
WhatisBehaviorSpace?
WhyBehaviorSpace?
HowItWorks
Managingexperimentsetups
Creatinganexperimentsetup
SpecialprimitivesforBehaviorSpaceexperiments
188
190
190
192
193
193
194
194
194
194
195
195
197
197
197
197
200
201
203
203
203
203
203
203
204
204
204
205
205
206
207
207
207
207
208
208
208
209
210
211
211
212
212
212
213
214
214
214
214
215
216
216
218
218
218
218
218
Runninganexperiment
Advancedusage
Runningfromthecommandline
SettingupexperimentsinXML
AdjustingJVMParameters
ControllingAPI
SystemDynamicsGuide
WhatistheNetLogoSystemDynamicsModeler?
BasicConcepts
SampleModels
HowitWorks
DiagramTab
CodeTab
TheSystemDynamicsModelerandNetLogo
Tutorial:Wolf-SheepPredation
Step1:SheepReproduction
Step2:NetLogoIntegration
Step3:WolfPredation
HubNetGuide
UnderstandingHubNet
NetLogo
HubNetArchitecture
ComputerHubNet
Activities
Clients
Requirements
Startinganactivity
HubNetControlCenter
Troubleshooting
KnownLimitations
Teacherworkshops
HubNetAuthoringGuide
RunningHubNetinheadlessmode
Gettinghelp
HubNetAuthoringGuide
CodingHubNetactivities
Setup
Receivingmessagesfromclients
Sendingmessagestoclients
Examples
Howtomakeaclientinterface
Viewupdatesontheclients
Clickingintheviewonclients
Customizingtheclient'sview
Plotupdatesontheclients
ModelingCommonsGuide
Introduction
ModelingCommonsAccounts
UploadingModels
UploadANewModel
UploadAChildOfAnExistingModel("forking")
UpdatingAnExistingModel
Logging
Startinglogging
MacOSXorWindows
Linuxandothers
Usinglogging
218
220
221
222
223
223
223
223
224
225
225
225
226
226
226
227
227
228
228
230
232
233
233
234
234
234
234
235
235
235
236
236
236
236
237
237
237
238
238
238
239
239
239
240
240
240
240
241
241
241
242
242
242
242
243
244
244
244
245
Wherelogsarestored
Howtoconfiguretheloggingoutput
AdvancedConfiguration
ControllingGuide
MathematicaLink
Whatisit?
WhatcanIdowithit?
Installation
Usage
KnownIssues
Sourcecode
Credits
NetLogo3D
Introduction
3DWorlds
Theobserverandthe3Dview
CustomShapes
Tutorial
Step1:Depth
Step2:TurtleMovement
Step3:ObserverMovement
Dictionary
CommandsandReporters
Built-InVariables
Primitives
at-points4.1
distancexyz4.1distancexyz-nowrap4.1
dz4.1
facefacexyz4.1
left4.1
link-pitch4.1.2
load-shapes-3d4.1
max-pzcor4.1min-pzcor4.1
neighbors4.1neighbors64.1
orbit-down4.1orbit-left4.1orbit-right4.1orbit-up4.1
__oxcor__oycor__ozcor
patch4.1
patch-at4.1
patch-at-heading-pitch-and-distance4.1
pitch
pzcor
random-pzcor4.1
random-zcor4.1
right4.1
roll
roll-left4.1
roll-right4.1
setxyz4.1
tilt-down4.1tilt-up4.1
towards-pitch4.1towards-pitch-nowrap4.1
towards-pitch-xyz4.1towards-pitch-xyz-nowrap4.1
turtles-at4.1<breeds>-at
world-depth4.1
zcor
zoom4.1
ExtensionsGuide
UsingExtensions
Whereextensionsarelocated
NetLogoArduinoExtension
245
245
246
246
246
246
246
246
246
247
247
247
247
247
248
248
248
248
248
248
249
249
249
249
250
250
250
250
250
250
250
251
251
251
251
251
251
251
251
252
252
253
253
253
253
254
254
254
255
255
256
256
257
257
257
257
257
257
257
Using
Notes
Compatibility
Questions
Primitives
arduino:primitives
arduino:ports
arduino:open
arduino:close
arduino:get
arduino:write-string
arduino:write-int
arduino:write-byte
arduino:is-open?
NetLogoArrayExtension
Using
WhentoUse
ExampleuseofArrayExtension
Primitives
array:from-list
array:item
array:set
array:length
array:to-list
NetLogoBitmapExtension
Using
WhatdoestheBitmapExtensiondo?
Gettingstarted
Primitives
bitmap:average-color
bitmap:channel
bitmap:copy-to-drawing
bitmap:copy-to-pcolors
bitmap:difference-rgb
bitmap:export
bitmap:from-view
bitmap:to-grayscale
bitmap:height
bitmap:import
bitmap:scaled
bitmap:width
NetLogoCfExtension
Using
Cases
Primitives
cf:when
cf:select
cf:match
cf:matching
cf:case
cf:case-is
cf:else
NetLogoCsvExtension
Commonusecasesandexamples
Readafileallatonce
Readafileonelineatatime
Readafileonelinepertick
Writeafile
Primitives
257
257
257
258
258
259
259
259
261
261
261
262
262
262
262
262
262
263
263
263
263
264
264
264
265
265
265
266
266
266
267
267
267
267
267
267
268
268
268
268
268
268
269
269
269
269
269
270
270
270
270
270
271
271
271
271
272
273
274
274
275
275
275
FormattingNetLogodataasCSV
ParsingCSVinputtoNetLogodata
csv:from-row
csv:from-string
csv:from-file
csv:to-row
csv:to-string
csv:to-file
NetLogoGisExtension
Using
Howtouse
KnownIssues
Credits
Primitives
RasterDatasetPrimitives
DatasetPrimitives
VectorDatasetPrimitives
CoordinateSystemPrimitives
DrawingPrimitives
gis:set-transformation
gis:set-transformation-ds
gis:set-world-envelope
gis:set-world-envelope-ds
gis:world-envelope
gis:envelope-of
gis:envelope-union-of
gis:load-coordinate-system
gis:set-coordinate-system
gis:load-dataset
gis:store-dataset
gis:type-of
gis:patch-dataset
gis:turtle-dataset
gis:link-dataset
gis:shape-type-of
gis:property-names
gis:feature-list-of
gis:vertex-lists-of
gis:centroid-of
gis:location-of
gis:property-value
gis:find-features
gis:find-one-feature
gis:find-less-than
gis:find-greater-than
gis:find-range
gis:property-minimum
gis:property-maximum
gis:apply-coverage
gis:coverage-minimum-threshold
gis:set-coverage-minimum-threshold
gis:coverage-maximum-threshold
gis:set-coverage-maximum-threshold
gis:intersects?
gis:contains?
gis:contained-by?
gis:have-relationship?
gis:relationship-of
gis:intersecting
gis:width-of
gis:height-of
gis:raster-value
gis:set-raster-value
275
275
275
276
276
277
277
277
277
278
278
278
278
279
279
279
280
280
280
280
280
280
280
280
281
281
281
281
281
281
281
282
282
282
282
282
282
282
283
283
284
284
284
284
284
285
285
286
286
286
286
286
286
286
287
287
287
287
288
288
288
gis:minimum-of
gis:maximum-of
gis:sampling-method-of
gis:set-sampling-method
gis:raster-sample
gis:raster-world-envelope
gis:create-raster
gis:resample
gis:convolve
gis:apply-raster
gis:drawing-color
gis:set-drawing-color
gis:draw
gis:fill
gis:paint
gis:import-wms-drawing
NetLogoGogoExtension
Usage
Changes
Primitives
OtherOutputs
Utilities
General
Sensors
OutputsandServos
gogo:primitives
gogo:howmany-gogos
gogo:talk-to-output-ports
gogo:set-output-port-power
gogo:output-port-on
gogo:output-port-off
gogo:output-port-clockwise
gogo:output-port-counterclockwise
gogo:set-servo
gogo:led
gogo:beep
gogo:read-sensors
gogo:read-sensor
gogo:read-all
gogo:send-bytes
NetLogoLsExtension
LevelSpacefundamentals
HeadlessandInteractiveModels
KeepingTrackofModels
Ageneralusecase:AskingandReporting
Ageneralusecase:Inter-ModelInteractions
AgeneralUsecase:Tidyingup“Dead”ChildModels
CitingLevelSpaceinResearch
Primitives
CommandingandReporting
LogicandControl
OpeningandClosingModels
ls:create-models
ls:create-interactive-models
ls:close
ls:reset
ls:ask
ls:of
ls:report
ls:with
ls:let
289
290
290
290
290
290
290
290
291
291
291
291
291
291
291
291
292
292
292
292
292
292
292
292
292
293
293
293
293
293
293
293
293
293
294
294
294
294
294
294
295
295
295
295
295
295
295
296
296
296
296
296
296
296
296
296
297
297
297
298
299
299
ls:models
ls:show
ls:show-all
ls:hide
ls:hide-all
ls:path-of
ls:name-of
ls:model-exists?
NetLogoMatrixExtension
Using
WhentoUse
HowtoUse
Example
Primitives
Matrixcreationandconversionto/fromlists
Advancedfeatures
Matrixdataretrievalandmanipulation
Mathoperations
matrix:make-constant
matrix:make-identity
matrix:from-row-list
matrix:from-column-list
matrix:to-row-list
matrix:to-column-list
matrix:copy
matrix:pretty-print-text
matrix:get
matrix:get-row
matrix:get-column
matrix:set
matrix:set-row
matrix:set-column
matrix:swap-rows
matrix:swap-columns
matrix:set-and-report
matrix:dimensions
matrix:submatrix
matrix:map
matrix:times-scalar
matrix:times
matrix:*
matrix:times-element-wise
matrix:plus-scalar
matrix:plus
matrix:+
matrix:minus
matrix:-
matrix:inverse
matrix:transpose
matrix:real-eigenvalues
matrix:imaginary-eigenvalues
matrix:eigenvectors
matrix:det
matrix:rank
matrix:trace
matrix:solve
matrix:forecast-linear-growth
matrix:forecast-compound-growth
matrix:forecast-continuous-growth
matrix:regress
NetLogoNwExtension
Usage
299
301
301
301
301
301
301
301
301
301
301
302
302
303
303
304
304
304
304
305
305
305
306
306
306
307
307
307
307
307
308
308
308
308
309
309
309
309
310
310
310
310
311
311
311
311
312
313
314
315
316
316
316
316
316
316
316
317
317
317
317
318
Specialagentsetsvsnormalagentsets
Anoteregardingfloatingpointcalculations
Performance
Primitives
Generators
PathandDistance
Clusterer/CommunityDetection
ContextManagement
ImportandExport
CentralityMeasures
ClusteringMeasures
nw:set-context
nw:get-context
nw:with-context
nw:turtles-in-radius
nw:turtles-in-reverse-radius
nw:distance-to
nw:weighted-distance-to
nw:path-to
nw:turtles-on-path-to
nw:weighted-path-to
nw:turtles-on-weighted-path-to
nw:mean-path-length
nw:mean-weighted-path-length
nw:betweenness-centrality
nw:eigenvector-centrality
nw:page-rank
nw:closeness-centrality
nw:weighted-closeness-centrality
nw:clustering-coefficient
nw:modularity
nw:bicomponent-clusters
nw:weak-component-clusters
nw:louvain-communities
nw:maximal-cliques
nw:biggest-maximal-cliques
nw:generate-preferential-attachment
nw:generate-random
nw:generate-watts-strogatz
nw:generate-small-world
nw:generate-lattice-2d
nw:generate-ring
nw:generate-star
nw:generate-wheel
nw:save-matrix
nw:load-matrix
nw:save-graphml
nw:load-graphml
nw:load
nw:save
NetLogoPaletteExtension
UsingthePaletteExtension
GettingStarted
WhatcolorsshouldIuse?
ShouldIuseacontinuouscolorgradientorjustadiscretecolorset?
ExampleModels
FurtherReading
Primitives
palette:scale-gradient
palette:scale-scheme
palette:scheme-colors
palette:scale-gradient
318
319
319
319
319
319
319
319
320
320
320
320
320
322
322
322
324
324
324
325
325
325
326
326
326
326
326
327
327
327
327
328
328
328
328
329
329
329
329
329
329
329
330
330
330
331
331
331
331
331
332
332
333
333
335
335
335
335
335
References
NetLogoProfilerExtension
UsingtheProfilerExtension
Howtouse
Example
Primitives
profiler:calls
profiler:exclusive-time
profiler:inclusive-time
profiler:start
profiler:stop
profiler:reset
profiler:report
NetLogoRExtension
Using
SomeTips
Installing
InstallingR
ConfiguringtheRextension
Determiningr.homeandjri.home.paths
Primitives
r:clear
r:clearLocal
r:eval
r:__evaldirect
r:gc
r:get
r:interactiveShell
r:put
r:putagent
r:putagentdf
r:putdataframe
r:putlist
r:putnamedlist
r:setPlotDevice
r:stop
Troubleshooting
LoadingRpackagesfails
AfterchangingtheworkingdirectoryinR(e.g.withsetwd())NetLogodoesn’tfindtheextension
Specificerrorcodelist
Citation
CopyrightandLicense
NetLogoRndExtension
Usage
Anoteaboutperformance
Primitives
AgentSetPrimitives
ListPrimitives
rnd:weighted-one-of
rnd:weighted-n-of
rnd:weighted-n-of-with-repeats
rnd:weighted-one-of-list
rnd:weighted-n-of-list
rnd:weighted-n-of-list-with-repeats
NetLogoSoundExtension
Using
HowtoUse
MIDIsupport
Primitives
335
336
336
336
336
336
337
339
339
339
339
339
339
339
340
340
340
340
340
340
340
340
340
340
340
341
341
341
341
342
342
342
342
342
342
342
342
343
343
343
344
344
344
344
345
345
345
346
346
346
347
347
347
348
348
349
349
349
349
349
sound:drums
sound:instruments
sound:play-drum
sound:play-note
sound:play-note-later
DrumNames
InstrumentNames
NetLogoTableExtension
Using
WhentoUse
Example
ManipulatingTables
KeyRestrictions
Primitives
table:clear
table:counts
table:group-agents
table:group-items
table:from-list
table:get
table:get-or-default
table:has-key?
table:keys
table:length
table:make
table:put
table:remove
table:to-list
table:values
NetLogoVidExtension
Concepts
VideoSource
SourceLifecycle
VideoRecorder
Primitives
vid:camera-names
vid:camera-open
vid:camera-select
vid:movie-select
vid:movie-open
vid:movie-open-remote
vid:close
vid:start
vid:stop
vid:status
vid:capture-image
vid:set-time
vid:show-player
vid:hide-player
vid:record-view
vid:record-interface
vid:record-source
vid:recorder-status
vid:start-recorder
vid:save-recording
NetLogoView2.5dExtension
HowtoUse
IncorporatingIntoModels
Feedback
Primitives
349
349
350
350
350
350
351
351
351
351
351
351
351
351
352
352
352
352
352
352
352
353
353
353
353
353
353
354
354
354
354
354
354
354
355
355
355
355
355
356
356
356
356
357
357
357
357
358
358
358
358
358
358
358
359
359
359
360
360
360
361
361
view2.5d:patch-view
view2.5d:decorate-patch-view
view2.5d:undecorate-patch-view
view2.5d:turtle-view
view2.5d:update-all-patch-views
view2.5d:update-patch-view
view2.5d:update-turtle-view
view2.5d:get-z-scale
view2.5d:set-z-scale
view2.5d:set-turtle-stem-thickness
view2.5d:get-observer-angles
view2.5d:set-observer-angles
view2.5d:get-observer-xy-focus
view2.5d:set-observer-xy-focus
view2.5d:get-observer-distance
view2.5d:set-observer-distance
view2.5d:remove-patch-view
view2.5d:remove-turtle-view
view2.5d:remove-all-patch-views
view2.5d:remove-all-turtle-views
view2.5d:count-windows
FAQ(FrequentlyAskedQuestions)
Questions
General
Downloading
Running
Usage
Programming
BehaviorSpace
NetLogo3D
Extensions
General
WhyisitcalledNetLogo?
HowdoIciteNetLogoorHubNetinapublication?
HowdoIciteamodelfromtheModelsLibraryinapublication?
WhereandwhenwasNetLogocreated?
WhatprogramminglanguagewasNetLogowrittenin?
What'stherelationshipbetweenStarLogoandNetLogo?
UnderwhatlicenseisNetLogoreleased?Isthesourcecodeavailable?
DoyouofferanyworkshopsorothertrainingopportunitiesforNetLogo?
ArethereanyNetLogotextbooks?
IsNetLogoavailableinotherlanguagesbesidesEnglish?
IsNetLogocompiledorinterpreted?
Hasanyonebuiltamodelof<x>?
AreNetLogomodelsrunsscientificallyreproducible?
WillNetLogoandNetLogo3Dremainseparate?
CanIrunNetLogoonmyphoneortablet?
Downloading
CanIhavemultipleversionsofNetLogoinstalledatthesametime?
I'monaUNIXsystemandIcan'tuntarthedownload.Why?
HowdoIinstallNetLogounattended
Running
CanIrunNetLogofromaCD,anetworkdrive,oraUSBdrive?
WhyisNetLogosomuchslowerwhenIunplugmyWindowslaptop?
WhydoesNetLogobundleJava?
HowcomeNetLogowon'tstartuponmyLinuxmachine?
WhenItrytoinstallNetLogoonWindows,Isee"WindowsprotectedyourPC"
WhenItrytostartNetLogoonWindowsIgetanerror"TheJVMcouldnotbestarted".Help!
NetLogowon'tstartonMacOSSierra(orlater)
NetLogowon'tstartonWindowsorcrashessuddenlyonMacOSSierra
CanIrunNetLogofromthecommandline,withouttheGUI?
DoesNetLogotakeadvantageofmultipleprocessors?
361
361
362
362
362
363
364
364
364
364
362
364
364
365
365
365
365
366
366
366
366
367
367
367
367
367
368
368
368
366
368
368
369
369
369
369
369
369
370
370
370
370
370
370
370
370
370
370
370
370
370
371
371
371
371
371
371
371
371
371
371
371
CanIdistributeNetLogomodelrunsacrossaclusterorgridofcomputers?
IsthereanywaytorecoverlostworkifNetLogocrashesorfreezes?
Usage
WhenImovethespeedsliderallthewaytotheright,whydoesmymodelseemtostop?
CanIusethemouseto"paint"intheview?
Howbigcanmymodelbe?Howmanyturtles,patches,procedures,buttons,andsooncanmymodelcontain?
CanIuseGISdatainNetLogo?
Mymodelrunsslowly.HowcanIspeeditup?
CanIhavemorethanonemodelopenatatime?
CanIchangethechoicesinachooseronthefly?
CanIdividethecodeformymodelupintoseveralfiles?
Programming
HowdoestheNetLogolanguagedifferfromotherLogos?
HowcomemymodelfromanearlierNetLogodoesn'tworkright?
HowdoItakethenegativeofanumber?
Myturtlemovedforward1,butit'sstillonthesamepatch.Why?
HowdoIkeepmyturtlesonpatchcenters?
patch-ahead1isreportingthesamepatchmyturtleisalreadystandingon.Why?
HowdoIgivemyturtles"vision"?
Canagentssensewhat'sinthedrawinglayer?
I'mgettingnumberslike0.10000000004and0.799999999999insteadof0.1and0.8.Why?
Thedocumentationsaysthatrandom-float1mightreturn0butwillneverreturn1.WhatifIwant1tobeincluded?
HowcanIkeeptwoturtlesfromoccupyingthesamepatch?
HowcanIfindoutifaturtleisdead?
DoesNetLogohavearrays?
DoesNetLogohavehashtablesorassociativearrays?
HowcanIusedifferentpatch"neighborhoods"(circular,VonNeumann,Moore,etc.)?
HowcanIconvertanagentsettoalistofagents,orviceversa?
HowdoIstopforeach?
I'mtryingtomakealist.WhydoIkeepgettingtheerror"Expectedaconstant"?
BehaviorSpace
WhyaretherowsinmyBehaviorSpacetableresultsoutoforder?
HowdoImeasurerunseverynticks?
I'mvaryingaglobalvariableIdeclaredintheCodetab,butitdoesn'twork.Why?
NetLogo3D
DoesNetLogoworkwithmystereoscopicdevice?
Extensions
I'mwritinganextension.Whydoesthecompilersayitcan'tfindorg.nlogo.api?
NetLogoDictionary
Categories
Turtle-related
Patch-related
Link-related
Agentset
Color
Controlflowandlogic
AnonymousProcedures
World
Perspective
HubNet
Input/output
File
List
String
Mathematical
Plotting
BehaviorSpace
System
Built-InVariables
Turtles
Patches
Links
371
371
371
371
371
371
372
372
372
372
372
372
373
373
373
374
374
374
374
374
375
375
375
375
375
375
375
375
376
376
376
376
377
377
377
377
377
377
377
377
378
378
378
378
378
378
378
379
379
379
379
380
380
381
381
381
381
381
381
382
Other
Keywords
Constants
MathematicalConstants
BooleanConstants
ColorConstants
A
abs1.0
acos1.3
all?4.0
and1.0
any?2.0
approximate-hsb4.0
approximate-rgb4.0
ArithmeticOperators+1.0*1.0-1.0/1.0^1.0<1.0>1.0=1.0!=1.0<=1.0>=1.0
asin1.3
ask1.0
ask-concurrent4.0
at-points1.0
atan1.0
autoplot?1.0
auto-plot-off1.0auto-plot-on1.0
B
back1.0bk1.0
base-colors4.0
beep2.1
behaviorspace-experiment-name5.2
behaviorspace-run-number4.1.1
both-ends4.0
breed
breed
but-first1.0butfirst1.0bf1.0but-last1.0butlast1.0bl1.0
C
can-move?3.1
carefully2.1
ceiling1.0
clear-all1.0ca1.0
clear-all-plots1.0
clear-drawing3.0cd3.0
clear-globals5.2
clear-links4.0
clear-output1.0
clear-patches1.0cp1.0
clear-plot
clear-ticks5.0
clear-turtles1.0ct1.0
color
cos1.0
count1.0
create-ordered-turtles4.0cro4.0
create-<breed>-tocreate-<breeds>-tocreate-<breed>-fromcreate-<breeds>-fromcreate-<breed>-withcreate-
<breeds>-withcreate-link-to4.0create-links-to4.0create-link-from4.0create-links-from4.0create-link-with4.0
create-links-with4.0
create-turtles1.0crt1.0
create-temporary-plot-pen1.1
D
date-and-time3.0
die1.0
diffuse1.0
diffuse41.0
directed-link-breed
display1.0
382
382
383
383
383
383
383
383
383
384
384
384
384
384
385
385
385
385
385
386
386
386
386
386
386
386
387
387
387
387
388
388
388
388
388
388
389
389
389
389
389
390
390
390
390
390
390
390
391
391
391
391
391
391
391
392
392
392
392
392
392
392
392
distance1.0
distancexy1.0
downhill1.0downhill41.0
dx1.0dy1.0
E
empty?1.0
end
end14.0
end24.0
error5.0
error-message2.1
every1.0
exp1.0
export-view3.0export-interface2.0export-output1.0export-plot1.0export-all-plots1.2.1export-world1.0
extensions
extract-hsb1.0
extract-rgb1.0
F
face3.0
facexy3.0
file-at-end?2.0
file-close2.0
file-close-all2.0
file-delete2.0
file-exists?2.0
file-flush4.0
file-open2.0
file-print2.0
file-read2.0
file-read-characters2.0
file-read-line2.0
file-show2.0
file-type2.0
file-write2.0
filter1.3
first1.0
floor1.0
follow3.0
follow-me3.0
foreach1.3
forward1.0fd1.0
fput1.0
G
globals
H
hatch1.0
heading
hidden?
hide-link4.0
hide-turtle1.0ht1.0
histogram1.0
home1.0
hsb1.0
hubnet-broadcast1.1
hubnet-broadcast-clear-output4.1
hubnet-broadcast-message4.1
hubnet-clear-override4.1hubnet-clear-overrides4.1
hubnet-clients-list5.0
hubnet-enter-message?1.2.1
hubnet-exit-message?1.2.1
hubnet-fetch-message1.1
hubnet-kick-client5.0
hubnet-kick-all-clients5.0
392
393
393
393
393
393
393
393
393
394
394
394
394
394
394
394
395
395
395
395
395
396
396
396
396
396
397
397
397
397
398
398
398
398
398
398
398
399
399
399
399
400
400
400
400
400
401
401
401
401
401
401
402
402
402
402
402
402
402
403
403
hubnet-message1.1
hubnet-message-source1.1
hubnet-message-tag1.1
hubnet-message-waiting?1.1
hubnet-reset1.1
hubnet-reset-perspective4.1
hubnet-send1.1
hubnet-send-clear-output4.1
hubnet-send-follow4.1
hubnet-send-message4.1
hubnet-send-override4.1
hubnet-send-watch4.1
I
if1.0
ifelse1.0
ifelse-value2.0
import-drawing3.0
import-pcolors3.0
import-pcolors-rgb4.0
import-world1.0
in-cone3.0
in-<breed>-neighbor?in-link-neighbor?4.0
in-<breed>-neighborsin-link-neighbors4.0
in-<breed>-fromin-link-from4.0
__includes4.0
in-radius1.0
insert-item6.0.2
inspect1.1
int1.0
is-agent?1.2.1is-agentset?1.2.1is-anonymous-command?6.0is-anonymous-reporter?6.0is-boolean?1.2.1is-
directed-link?4.0is-link?4.0is-link-set?4.0is-list?1.0is-number?1.2.1is-patch?1.2.1is-patch-set?4.0is-string?1.0
is-turtle?1.2.1is-turtle-set?4.0is-undirected-link?4.0
item1.0
J
jump1.0
L
label
label-color
last1.0
layout-circle4.0
layout-radial4.0
layout-spring4.0
layout-tutte4.0
left1.0lt1.0
length1.0
let2.1
link4.0
link-heading4.0
link-length4.0
link-set4.0
link-shapes4.0
links4.0
links-own
list1.0
ln1.0
log1.0
loop1.0
lput1.0
M
map1.3
max1.0
max-n-of4.0
max-one-of1.0
403
403
403
404
404
404
404
404
405
405
405
405
405
405
406
406
406
406
407
407
407
407
407
408
408
408
408
408
408
409
409
409
409
409
409
409
410
410
410
410
410
411
411
411
411
411
411
412
412
412
412
412
413
413
413
413
413
413
413
413
414
414
414
max-pxcor3.1max-pycor3.1
mean1.0
median1.0
member?1.0
min1.0
min-n-of4.0
min-one-of1.0
min-pxcor3.1min-pycor3.1
mod1.0
modes2.0
mouse-down?1.0
mouse-inside?3.0
mouse-xcor1.0mouse-ycor1.0
move-to4.0
my-<breeds>my-links4.0
my-in-<breeds>my-in-links4.0
my-out-<breeds>my-out-links4.0
myself1.0
N
n-of3.1
n-values2.0
neighbors1.1neighbors41.1
<breed>-neighborslink-neighbors4.0
<breed>-neighbor?link-neighbor?4.0
netlogo-version3.0
netlogo-web?5.2
new-seed3.0
no-display1.0
nobody
no-links4.0
no-patches4.0
not1.0
no-turtles4.0
O
of4.0
one-of1.0
or1.0
other4.0
other-end4.0
out-<breed>-neighbor?out-link-neighbor?4.0
out-<breed>-neighborsout-link-neighbors4.0
out-<breed>-toout-link-to4.0
output-print2.1output-show2.1output-type2.1output-write2.1
P
patch1.0
patch-ahead2.0
patch-at1.0
patch-at-heading-and-distance2.0
patch-here1.0
patch-left-and-ahead2.0patch-right-and-ahead2.0
patch-set4.0
patch-size4.1
patches1.0
patches-own
pcolor
pen-down1.0pd1.0pen-erase3.0pe3.0pen-up1.0pu1.0
pen-mode
pen-size
plabel
plabel-color
plot1.0
plot-name1.0
plot-pen-exists?4.0
414
414
414
414
414
415
415
415
415
415
415
416
416
416
416
417
417
417
418
418
418
418
418
418
419
419
419
419
419
419
419
420
420
420
420
420
421
421
421
421
421
421
422
422
422
422
422
423
423
423
423
423
423
423
423
424
424
424
424
424
425
425
425
plot-pen-down1.0plot-pen-up1.0
plot-pen-reset1.0
plotxy1.0
plot-x-min1.0plot-x-max1.0plot-y-min1.0plot-y-max1.0
position1.0
precision1.0
print1.0
pxcorpycor
R
random1.0
random-float2.0
random-exponential1.2.1random-gamma2.0random-normal1.2.1random-poisson1.2.1
random-pxcor3.1random-pycor3.1
random-seed1.0
random-xcor3.1random-ycor3.1
range6.0
read-from-string1.1
reduce1.3
remainder1.2.1
remove1.0
remove-duplicates1.0
remove-item2.0
repeat1.0
replace-item1.0
report1.0
reset-perspective3.0rp3.0
reset-ticks4.0
reset-timer1.0
resize-world4.1
reverse1.0
rgb1.0
ride3.0
ride-me3.0
right1.0rt1.0
round1.0
run1.3runresult1.3
S
scale-color1.0
self1.3
;(semicolon)
sentence1.0se1.0
set1.0
set-current-directory2.0
set-current-plot1.0
set-current-plot-pen1.0
set-default-shape1.0
set-histogram-num-bars1.0
__set-line-thickness
set-patch-size4.1
set-plot-background-color6.0.2
set-plot-pen-color1.0
set-plot-pen-interval1.0
set-plot-pen-mode1.0
setup-plots5.0
set-plot-x-range1.0set-plot-y-range1.0
setxy1.0
shade-of?1.0
shape
shapes2.1
show1.0
show-turtle1.0st1.0
show-link4.0
shuffle2.0
425
425
425
426
426
426
426
427
427
427
427
427
427
427
428
428
428
428
428
428
428
428
429
429
429
429
429
430
430
430
430
430
431
431
431
431
431
432
432
432
432
432
432
433
433
433
433
433
434
434
434
434
434
434
434
435
435
435
435
435
436
436
436
sin1.0
size
sort1.0
sort-by1.3
sort-on5.0
sprout1.0
sqrt1.0
stamp1.0
stamp-erase3.1
standard-deviation1.0
startup
stop1.0
stop-inspecting5.2
stop-inspecting-dead-agents5.2
subject3.0
sublist2.1substring1.0
subtract-headings2.1
sum1.0
T
tan1.0
thickness
tick4.0
tick-advance4.0
ticks4.0
tie4.0
tie-mode
timer1.0
to
to-report
towards1.0
towardsxy1.0
turtle1.0
turtle-set4.0
turtles1.0
turtles-at1.0
turtles-here1.0
turtles-on2.0
turtles-own
type1.0
U
undirected-link-breed
untie4.0
update-plots5.0
uphill1.0uphill41.0
user-directory3.1
user-file3.1
user-new-file3.1
user-input1.1
user-message1.1
user-one-of3.1
user-yes-or-no?2.0
V
variance1.0
W
wait1.0
watch3.0
watch-me3.0
while1.0
who
with1.0
<breed>-withlink-with4.0
with-max2.1
with-min2.1
WhatisNetLogo?
NetLogoisaprogrammablemodelingenvironmentforsimulatingnaturalandsocial
phenomena.ItwasauthoredbyUriWilenskyin1999andhasbeenincontinuous
developmenteversinceattheCenterforConnectedLearningandComputer-Based
Modeling.
NetLogoisparticularlywellsuitedformodelingcomplexsystemsdevelopingovertime.
Modelerscangiveinstructionstohundredsorthousandsof"agents"alloperating
independently.Thismakesitpossibletoexploretheconnectionbetweenthemicro-level
behaviorofindividualsandthemacro-levelpatternsthatemergefromtheirinteraction.
NetLogoletsstudentsopensimulationsand"play"withthem,exploringtheirbehaviorunder
variousconditions.Itisalsoanauthoringenvironmentwhichenablesstudents,teachersand
curriculumdeveloperstocreatetheirownmodels.NetLogoissimpleenoughforstudentsand
teachers,yetadvancedenoughtoserveasapowerfultoolforresearchersinmanyfields.
NetLogohasextensivedocumentationandtutorials.ItalsocomeswiththeModelsLibrary,a
largecollectionofpre-writtensimulationsthatcanbeusedandmodified.Thesesimulations
addresscontentareasinthenaturalandsocialsciencesincludingbiologyandmedicine,
physicsandchemistry,mathematicsandcomputerscience,andeconomicsandsocial
psychology.Severalmodel-basedinquirycurriculausingNetLogoareavailableandmoreare
underdevelopment.
NetLogoisthenextgenerationoftheseriesofmulti-agentmodelinglanguagesincluding
StarLogoandStarLogoT.NetLogorunsontheJavavirtualmachine,soitworksonallmajor
platforms(Mac,Windows,Linux,etal).Itisrunasadesktopapplication.Commandline
operationisalsosupported.
Features
System:
Free,opensource
Cross-platform:runsonMac,Windows,Linux,etal
Internationalcharactersetsupport
Programming:
Fullyprogrammable
Approachablesyntax
LanguageisLogodialectextendedtosupportagents
Mobileagents(turtles)moveoveragridofstationaryagents(patches)
Linkagentsconnectturtlestomakenetworks,graphs,andaggregates
Largevocabularyofbuilt-inlanguageprimitives
Doubleprecisionfloatingpointmath
First-classfunctionvalues(akaanonymousprocedures,closures,lambda)
Runsarereproduciblecross-platform
Environment:
Commandcenterforon-the-flyinteraction
Interfacebuilderw/buttons,sliders,switches,choosers,monitors,textboxes,
notes,outputarea
Infotabforannotatingyourmodelwithformattedtextandimages
HubNet:participatorysimulationsusingnetworkeddevices
Agentmonitorsforinspectingandcontrollingagents
Exportandimportfunctions(exportdata,saveandrestorestateofmodel,makea
movie)
BehaviorSpace,anopensourcetoolusedtocollectdatafrommultipleparallel
runsofamodel
SystemDynamicsModeler
NetLogo3Dformodeling3Dworlds
Headlessmodeallowsdoingbatchrunsfromthecommandline
Displayandvisualization:
Line,bar,andscatterplots
Speedsliderletsyoufastforwardyourmodelorseeitinslowmotion
Viewyourmodelineither2Dor3D
Scalableandrotatablevectorshapes
Turtleandpatchlabels
APIs:
controllingAPIallowsembeddingNetLogoinascriptorapplication
extensionsAPIallowsaddingnewcommandsandreporterstotheNetLogo
language;opensourceexampleextensionsareincluded
CopyrightandLicenseInformation
Howtoreference
IfyouuseorrefertoNetLogoinapublication,weaskthatyouciteit.Thecorrectcitationis:
Wilensky,U.(1999).NetLogo.http://ccl.northwestern.edu/netlogo/.CenterforConnected
LearningandComputer-BasedModeling,NorthwesternUniversity,Evanston,IL.
ForHubNet,cite:Wilensky,U.&Stroup,W.,1999.HubNet.
http://ccl.northwestern.edu/netlogo/hubnet.html.CenterforConnectedLearningand
Computer-BasedModeling,NorthwesternUniversity.Evanston,IL.
FormodelsintheModelsLibrary,thecorrectcitationisincludedinthe"Creditsand
References"sectionofeachmodel'sInfotab.
Acknowledgments
TheCCLgratefullyacknowledgestwodecadesofsupportforourNetLogowork.Theoriginal
supportcamefromtheNationalScienceFoundation--grantnumbersREC-9814682and
REC-0126227.FurthersupporthascomefromREC-0003285,REC-0115699,DRL-0196044,
CCF-ITR-0326542,DRL-REC/ROLE-0440113,SBE-0624318,EEC-0648316,IIS-0713619,
DRL-RED-9552950,DRL-REC-9632612,andDRL-DRK12-1020101,IIS-1441552,CNS-
1441016,CNS-1441041,CNS-1138461,IIS-1438813,IIS-1147621,DRL-REC-1343873,IIS-
1438813,IIS-1441552,CNS-1441041,IIS-1546120,DRL-1546122,DRL-1614745andDRL-
1640201.AdditionalsupportcamefromtheSpencerFoundation,TexasInstruments,the
BradyFund,theMurphyfund,andtheNorthwesternInstituteonComplexSystems.
NetLogolicense
Copyright1999-2016byUriWilensky.
Thisprogramisfreesoftware;youcanredistributeitand/ormodifyitunderthetermsofthe
GNUGeneralPublicLicenseaspublishedbytheFreeSoftwareFoundation;eitherversion2
oftheLicense,or(atyouroption)anylaterversion.
Thisprogramisdistributedinthehopethatitwillbeuseful,butWITHOUTANYWARRANTY;
withouteventheimpliedwarrantyofMERCHANTABILITYorFITNESSFORAPARTICULAR
PURPOSE.SeetheGNUGeneralPublicLicenseformoredetails.
YoushouldhavereceivedacopyoftheGNUGeneralPublicLicensealongwiththisprogram;
ifnot,writetotheFreeSoftwareFoundation,Inc.,51FranklinStreet,FifthFloor,Boston,MA
02110-1301,USA.
Commerciallicenses
Commerciallicensesarealsoavailable.Toinquireaboutcommerciallicenses,pleasecontact
UriWilenskyaturi@northwestern.edu.
NetLogoUserManuallicense
Copyright1999-2016byUriWilensky.
TheNetLogoUserManualbyUriWilenskyislicensedunderaCreativeCommonsAttribution-
ShareAlike3.0UnportedLicense.
Opensource
TheNetLogosourcecodeishostedathttps://github.com/NetLogo/NetLogo.Contributions
frominterestedusersarewelcome.
Thirdpartylicenses
Scala
MuchofNetLogoiswrittenintheScalalanguageandusestheScalastandardlibraries.The
licenseforScalaisasfollows:
Copyright (c) 2002 - EPFL
Copyright (c) 2011 - Lightbend, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of the EPFL nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
MersenneTwisterFast
Forrandomnumbergeneration,NetLogousestheMersenneTwisterFastclassbySeanLuke.
Thecopyrightforthatcodeisasfollows:
Copyright (c) 2003 by Sean Luke.
Portions copyright (c) 1993 by Michael Lecuyer.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of the copyright owners, their employers, nor the names
of its contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNERS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Colt
PartsofNetLogo(specifically,therandom-gammaprimitive)arebasedoncodefromtheColt
library(http://acs.lbl.gov/~hoschek/colt/).Thecopyrightforthatcodeisasfollows:
Copyright 1999 CERN - European Organization for Nuclear Research. Permission
to use, copy, modify, distribute and sell this software and its documentation
for any purpose is hereby granted without fee, provided that the above
copyright notice appear in all copies and that both that copyright notice and
this permission notice appear in supporting documentation. CERN makes no
representations about the suitability of this software for any purpose. It is
provided "as is" without expressed or implied warranty.
Config
NetLogousestheTypesafe"Config"library.Copyright(C)2011-2012TypesafeInc.
http://typesafe.comTheConfiglibraryislicensedundertheApache2.0License.Youmay
obtainacopyofthelicenseathttp://www.apache.org/licenses/LICENSE-2.0.
ApacheCommonsCodec(TM)
TheNetLogocompilerusesadigestmethodfromtheApacheCommonsCodec(TM)library.
ApacheCommonsCodec(TM)iscopyrightandtrademark2002-2014theApacheSoftware
Foundation.ItislicensedundertheApache2.0License.Youmayobtainacopyofthelicense
athttp://www.apache.org/licenses/LICENSE-2.0.
Flexmark
NetLogousestheFlexmarklibrary(andextensions)fortheinfotab.Thecopyrightandlicense
areasfollows:
Copyright (c) 2015-2016, Atlassian Pty Ltd All rights reserved. Copyright (c)
2016, Vladimir Schneider, All rights reserved. Redistribution and use in
source and binary forms, with or without modification, are permitted provided
that the following conditions are met: * Redistributions of source code must
retain the above copyright notice, this list of conditions and the following
disclaimer. * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution. THIS
SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
JHotDraw
Forthesystemdynamicsmodeler,NetLogousestheJHotDrawlibrary,whichisCopyright(c)
1996,1997byIFAInformatikandErichGamma.ThelibraryiscoveredbytheGNULGPL
(LesserGeneralPublicLicense).Thetextofthatlicenseisincludedinthe"docs"folderwhich
accompaniestheNetLogodownload,andisalsoavailablefrom
http://www.gnu.org/copyleft/lesser.html.
JOGL
For3Dgraphicsrendering,NetLogousesJOGL,aJavaAPIforOpenGL,andGluegen,an
automaticcodegenerationtool.FormoreinformationaboutJOGLandGluegen,see
jogamp.org/.BothlibrariesaredistributedundertheBSDlicense:
Copyright 2010 JogAmp Community. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY JogAmp Community ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL JogAmp Community OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The views and conclusions contained in the software and documentation are
those of the authors and should not be interpreted as representing official
policies, either expressed or implied, of JogAmp Community.
You can address the JogAmp Community via: Web http://jogamp.org/
Forum/Mailinglist http://forum.jogamp.org Chatrooms IRC irc.freenode.net
#jogamp Jabber conference.jabber.org room: jogamp (deprecated!) Repository
http://jogamp.org/git/ Email mediastream _at_ jogamp _dot_ org
Matrix3D
For3Dmatrixoperations,NetLogousestheMatrix3Dclass.Itisdistributedunderthe
followinglicense:
Copyright (c) 1994-1996 Sun Microsystems, Inc. All Rights Reserved.
Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
modify and redistribute this software in source and binary code form, provided
that i) this copyright notice and license appear on all copies of the
software; and ii) Licensee does not utilize the software in a manner which is
disparaging to Sun.
This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS
OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-
INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE
FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR
INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
This software is not designed or intended for use in on-line control of
aircraft, air traffic, aircraft navigation or aircraft communications; or in
the design, construction, operation or maintenance of any nuclear facility.
Licensee represents and warrants that it will not use or redistribute the
Software for such purposes.
ASM
ForJavabytecodegeneration,NetLogousestheASMlibrary.Itisdistributedunderthe
followinglicense:
Copyright (c) 2000-2011 INRIA, France Telecom. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holders nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Log4j
Forlogging,NetLogousestheLog4jlibrary.Thecopyrightandlicenseforthelibraryareas
follows:
Copyright 2007 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
PicoContainer
Fordependencyinjection,NetLogousesthePicoContainerlibrary.Thecopyrightandlicense
forthelibraryareasfollows:
Copyright (c) 2004-2011, PicoContainer Organization All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of the PicoContainer Organization nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Parboiled
Forreadingmodels,NetLogousestheParboiledlibrary.Thecopyrightandlicensefor
Parboiledareasfollows:
This software is licensed under the Apache 2 license, quoted below. Copyright
© 2009-2013 Mathias Doenitz http://parboiled2.org Copyright © 2013 Alexander
Myltsev Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may obtain a
copy of the License at [http://www.apache.org/licenses/LICENSE-2.0] Unless
required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
RSyntaxTextArea
TheNetLogoeditorusestheRSyntaxTextArealibrary.Thecopyrightandlicenseareas
follows:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met: *
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer. * Redistributions in binary
form must reproduce the above copyright notice, this list of conditions and
the following disclaimer in the documentation and/or other materials provided
with the distribution. * Neither the name of the author nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission. THIS SOFTWARE IS PROVIDED
BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL ©RIGHT HOLDER& BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
JCodec
TheNetLogovidextensionmakesuseoftheJCodeclibrary.Thecopyrightandlicensefor
JCodecareasfollows:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer. Redistributions in binary
form must reproduce the above copyright notice, this list of conditions and
the following disclaimer in the documentation and/or other materials provided
with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
Java-Objective-CBridge
NetLogoonMacOSXmakesuseoftheJava-Objective-CBridgelibrary.Thislibrarywas
createdbySteveHannahandisdistributedundertheApache2.0license,availableat
https://www.apache.org/licenses/LICENSE-2.0.
Webcam-capture
TheNetLogovidextensionmakesuseoftheWebcam-capturelibrary.Thecopyrightand
licenseforWebcam-captureareasfollows:
The MIT License (MIT) Copyright (c) 2012 - 2015 Bartosz Firyn and Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: The above copyright
notice and this permission notice shall be included in all copies or
substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS",
WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Guava
TheNetLogolsextensionmakesuseoftheGuavalibrary.Guavaisreleasedunderthe
ApacheLicense2.0(http://www.apache.org/licenses/LICENSE-2.0)
Gephi
ThenwextensionmakesuseoftheGephilibrary.Gephiislicensedunderthefollowingterms:
Gephi Dual License Header and License Notice
The Gephi Consortium elects to use only the GNU General Public License version
3 (GPL) for any software where a choice of GPL license versions are made
available with the language indicating that GPLv3 or any later version may be
used, or where a choice of which version of the GPL is applied is unspecified.
For more information on the license please see: the Gephi License FAQs.
License headers are available on http://www.opensource.org/licenses/CDDL-1.0
and http://www.gnu.org/licenses/gpl.html.
RExtension
TheNetLogoRExtensionislicensedunderthefollowingterms:
The R extension is Copyright (C) 2009-2016 Jan C. Thiele and Copyright (C)
2016 Uri Wilensky / The Center for Connected Learning. NetLogo-R-Extension is
free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version. This
program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details. You
should have received a copy of the GNU General Public License along with
NetLogo-R-Extension (located in GPL.txt). If not, see
http://www.gnu.org/licenses.
JNA
TheNetLogoRExtensionmakesuseoftheJNAlibrary.TheJNAlibraryislicensedunderthe
followingterms:
This copy of JNA is licensed under the Apache (Software) License, version 2.0
("the License"). See the License for details about distribution rights, and
the specific rights regarding derivate works. You may obtain a copy of the
License at: http://www.apache.org/licenses/
What'sNew?
NetLogo6.0.2UserManual
Thefollowingisacondensedhistory.DetailedreleasenotesareonGitHub.
Forhelprunningmodelsmadeinoldversions,seetheTransitionGuide.
Version6.0.2(August2017)
FeatureChanges
TheautosuggestfunctionalityintroducedinNetLogo6willnowdisplayextension
primitivenames.
Anewinsert-itemprimitivewasaddedtothelanguage.Itworkssimilarlytoreplace-
item,butwithoutremovingtheitematthespecifiedindex.
Anewset-plot-background-colorprimitivewasaddedtothelanguage.Itcanbeused
inplottingcodetosetthebackgroundcoloroftheplot.
Behaviorsearch'suserinterfacehasbeenupdated.ItnowusestheJavaFXUItoolkitfor
amoremodernlookandfeel.
Bugfixes
The6.0.1autoconverterwoulderrorwhenconvertingtaskswithexactlyoneargument
(from5.3.1andearliermodelsonly).Theconversionwouldbecorrect,butitwas
confusing.Thishasnowbeenremediedandtheautoconverterwillcorrectlyconvert
modelsfrom5.3.1andearlierwithouterroringonsingle-argumenttasks.
Fixabugwhereextensionsweren'tlocatedproperlywheninapathrelativetothe
model.
Helpbrowsernowopensin64-bitWindows.
Fixaspeedregressionfortheimport-worl