NetLogo 6.0.2 User Manual Net Logo

NetLogo%20User%20Manual

NetLogo%20User%20Manual

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 438 [warning: Documents this large are best viewed by clicking the View PDF Link!]

TheNetLogo6.0.2UserManual
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
TableofContents
TableofContents
WhatisNetLogo?
Features
CopyrightandLicenseInformation
Howtoreference
Acknowledgments
NetLogolicense
Commerciallicenses
NetLogoUserManuallicense
Opensource
Thirdpartylicenses
Scala
MersenneTwisterFast
Colt
Config
ApacheCommonsCodec(TM)
Flexmark
JHotDraw
JOGL
Matrix3D
ASM
Log4j
PicoContainer
Parboiled
RSyntaxTextArea
JCodec
Java-Objective-CBridge
Webcam-capture
Guava
Gephi
RExtension
JNA
What'sNew?
Version6.0.2(August2017)
FeatureChanges
Bugfixes
ExtensionChanges
DocumentationChanges
ModelChanges
Version6.0.1(March2017)
FeatureChanges
Bugfixes
ExtensionChanges
DocumentationChanges
Models
Version6.0(December2016)
FeatureChanges
Bugfixes
LanguageChanges
ExtensionChanges
OperatingSystemSupport
DocumentationChanges
InternationalizationChanges
Models
Version5.3.1(February2016)
FeatureChanges
ExtensionChanges
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
Version5.3(December2015)
FeatureChanges
ExtensionChanges
Version5.2.1(September2015)
Extensions
Newfeatures
Bugfixes
Modelchanges
Version5.2.0(April2015)
Extensions
Newfeatures
Bugfixes
Modelchanges
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
ApplicationRequirements
Windows
MacOSX
Linux
3DRequirements
32-bitor64-bit?
ContactingUs
Website
Feedback,questions,etc.
Reportingbugs
Opensource
SampleModel:Party
AtaParty
Challenge
Thinkingwithmodels
What'snext?
Tutorial#1:Models
SampleModel:WolfSheepPredation
ControllingtheModel:Buttons
Controllingspeed:SpeedSlider
AdjustingSettings:SlidersandSwitches
GatheringInformation:PlotsandMonitors
Plots
Monitors
ControllingtheView
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
ModelsLibrary
SampleModels
CurricularModels
CodeExamples
HubNetActivities
What'sNext?
Tutorial#2:Commands
SampleModel:TrafficBasic
CommandCenter
Workingwithcolors
AgentMonitorsandAgentCommanders
What'sNext?
Tutorial#3:Procedures
Agentsandprocedures
Makingthesetupbutton
Switchingtotick-basedviewupdates
Makingthegobutton
Experimentingwithcommands
Patchesandvariables
Turtlevariables
Monitors
Switchesandlabels
Moreprocedures
Plotting
Tickcounter
Somemoredetails
What'snext?
Appendix:Completecode
InterfaceGuide
Menus
Chart:NetLogomenus
Tabs
InternationalUsage
Charactersets
Languages
Supportfortranslators
InterfaceTabGuide
Workingwithinterfaceelements
Chart:InterfaceToolbar
The2Dand3Dviews
Manipulatingthe3DView
CommandCenter
Reporters
Accessingpreviouscommands
Clearing
Arranging
Plots
PlotPens
Sliders
AgentMonitors
InfoTab
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
Italicizedandboldtext
Example
Formatted
Orderedlists
Example
Formatted
Unorderedlists
Example
Formatted
Links
Automaticlinks
Linkswithtext
Locallinks
Images
Example
Formatted
Localimages
Blockquotations
Example
Formatted
Code
Example
Formatted
Codeblocks
Example
Formatted
Superscriptsandsubscripts
Example
Formatted
Notesonusage
Otherfeatures
CodeTabGuide
IncludedFilesMenu
Automaticindentation
ProgrammingGuide
Agents
Procedures
Variables
Tickcounter
Whentotick
Fractionalticks
Colors
Ask
Agentsets
Specialagentsets
Agentsetsandlists
Breeds
Linkbreeds
Buttons
Lists
Math
Randomnumbers
Auxiliarygenerator
Localrandomness
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
Turtleshapes
Linkshapes
Viewupdates
Continuousupdates
Tick-basedupdates
Choosingamode
Framerate
Plotting
Plottingpoints
Plotcommands
Otherkindsofplots
Histograms
Clearingandresetting
Rangesandautoscaling
UsingaLegend
Temporaryplotpens
set-current-plotandset-current-plot-pen
Conclusion
Strings
Output
FileI/O
Movies
Perspective
Drawing
Topology
Links
Anonymousprocedures
Anonymousprocedureprimitives
Anonymousprocedureinputs
Anonymousproceduresandstrings
Concisesyntax
Anonymousproceduresasclosures
Nonlocalexits
Anonymousproceduresandextensions
Limitations
WhatisOptional?
Codeexample
Ask-Concurrent
UserInteractionPrimitives
Whatdoes"Halt"mean?
Tie
Multiplesourcefiles
Syntax
Colors
Notice
Keywords
Identifiers
Scope
Comments
Structure
Commandsandreporters
ComparedtootherLogos
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
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
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
hsbprimitives
GoGoextension
ChangesforNetLogo5.0
Plotting
Tickcounter
Unicodecharacters
Infotabs
Modelspeed
Listperformance
ExtensionsAPI
ChangesforNetLogo4.1
Combiningsetandof
ChangesforNetLogo4.0
Whonumbering
Turtlecreation:randomizedvs."ordered"
Addingstringsandlists
The-atprimitives
Links
New"of"syntax
Serialask
Tickcounter
Viewupdatemodes
Speedslider
Numbers
Agentsetbuilding
RGBColors
Tie
ChangesforNetLogo3.1
Agentsets
Wrapping
Randomturtlecoordinates
ShapesEditorGuide
Gettingstarted
Importingshapes
Creatingandeditingturtleshapes
Tools
Previews
Overlappingshapes
Undo
Colors
Otherbuttons
Shapedesign
Keepingashape
Creatingandeditinglinkshapes
Changinglinkshapeproperties
Usingshapesinamodel
BehaviorSpaceGuide
WhatisBehaviorSpace?
WhyBehaviorSpace?
HowItWorks
Managingexperimentsetups
Creatinganexperimentsetup
SpecialprimitivesforBehaviorSpaceexperiments
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
Runninganexperiment
Advancedusage
Runningfromthecommandline
SettingupexperimentsinXML
AdjustingJVMParameters
ControllingAPI
SystemDynamicsGuide
WhatistheNetLogoSystemDynamicsModeler?
BasicConcepts
SampleModels
HowitWorks
DiagramTab
CodeTab
TheSystemDynamicsModelerandNetLogo
Tutorial:Wolf-SheepPredation
Step1:SheepReproduction
Step2:NetLogoIntegration
Step3:WolfPredation
HubNetGuide
UnderstandingHubNet
NetLogo
HubNetArchitecture
ComputerHubNet
Activities
Clients
Requirements
Startinganactivity
HubNetControlCenter
Troubleshooting
KnownLimitations
Teacherworkshops
HubNetAuthoringGuide
RunningHubNetinheadlessmode
Gettinghelp
HubNetAuthoringGuide
CodingHubNetactivities
Setup
Receivingmessagesfromclients
Sendingmessagestoclients
Examples
Howtomakeaclientinterface
Viewupdatesontheclients
Clickingintheviewonclients
Customizingtheclient'sview
Plotupdatesontheclients
ModelingCommonsGuide
Introduction
ModelingCommonsAccounts
UploadingModels
UploadANewModel
UploadAChildOfAnExistingModel("forking")
UpdatingAnExistingModel
Logging
Startinglogging
MacOSXorWindows
Linuxandothers
Usinglogging
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
Wherelogsarestored
Howtoconfiguretheloggingoutput
AdvancedConfiguration
ControllingGuide
MathematicaLink
Whatisit?
WhatcanIdowithit?
Installation
Usage
KnownIssues
Sourcecode
Credits
NetLogo3D
Introduction
3DWorlds
Theobserverandthe3Dview
CustomShapes
Tutorial
Step1:Depth
Step2:TurtleMovement
Step3:ObserverMovement
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
UsingExtensions
Whereextensionsarelocated
NetLogoArduinoExtension
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?
NetLogoArrayExtension
Using
WhentoUse
ExampleuseofArrayExtension
Primitives
array:from-list
array:item
array:set
array:length
array:to-list
NetLogoBitmapExtension
Using
WhatdoestheBitmapExtensiondo?
Gettingstarted
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
NetLogoCfExtension
Using
Cases
Primitives
cf:when
cf:select
cf:match
cf:matching
cf:case
cf:case-is
cf:else
NetLogoCsvExtension
Commonusecasesandexamples
Readafileallatonce
Readafileonelineatatime
Readafileonelinepertick
Writeafile
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
FormattingNetLogodataasCSV
ParsingCSVinputtoNetLogodata
csv:from-row
csv:from-string
csv:from-file
csv:to-row
csv:to-string
csv:to-file
NetLogoGisExtension
Using
Howtouse
KnownIssues
Credits
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
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
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
HeadlessandInteractiveModels
KeepingTrackofModels
Ageneralusecase:AskingandReporting
Ageneralusecase:Inter-ModelInteractions
AgeneralUsecase:Tidyingup“Dead”ChildModels
CitingLevelSpaceinResearch
Primitives
CommandingandReporting
LogicandControl
OpeningandClosingModels
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?
NetLogoMatrixExtension
Using
WhentoUse
HowtoUse
Example
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
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
Specialagentsetsvsnormalagentsets
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
UsingthePaletteExtension
GettingStarted
WhatcolorsshouldIuse?
ShouldIuseacontinuouscolorgradientorjustadiscretecolorset?
ExampleModels
FurtherReading
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
NetLogoProfilerExtension
UsingtheProfilerExtension
Howtouse
Example
Primitives
profiler:calls
profiler:exclusive-time
profiler:inclusive-time
profiler:start
profiler:stop
profiler:reset
profiler:report
NetLogoRExtension
Using
SomeTips
Installing
InstallingR
ConfiguringtheRextension
Determiningr.homeandjri.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
LoadingRpackagesfails
AfterchangingtheworkingdirectoryinR(e.g.withsetwd())NetLogodoesn’tfindtheextension
Specificerrorcodelist
Citation
CopyrightandLicense
NetLogoRndExtension
Usage
Anoteaboutperformance
Primitives
AgentSetPrimitives
ListPrimitives
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
NetLogoSoundExtension
Using
HowtoUse
MIDIsupport
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
DrumNames
InstrumentNames
NetLogoTableExtension
Using
WhentoUse
Example
ManipulatingTables
KeyRestrictions
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
NetLogoVidExtension
Concepts
VideoSource
SourceLifecycle
VideoRecorder
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
IncorporatingIntoModels
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(FrequentlyAskedQuestions)
Questions
General
Downloading
Running
Usage
Programming
BehaviorSpace
NetLogo3D
Extensions
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
CanIhavemultipleversionsofNetLogoinstalledatthesametime?
I'monaUNIXsystemandIcan'tuntarthedownload.Why?
HowdoIinstallNetLogounattended
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?
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
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
WhyaretherowsinmyBehaviorSpacetableresultsoutoforder?
HowdoImeasurerunseverynticks?
I'mvaryingaglobalvariableIdeclaredintheCodetab,butitdoesn'twork.Why?
NetLogo3D
DoesNetLogoworkwithmystereoscopicdevice?
Extensions
I'mwritinganextension.Whydoesthecompilersayitcan'tfindorg.nlogo.api?
NetLogoDictionary
Categories
Turtle-related
Patch-related
Link-related
Agentset
Color
Controlflowandlogic
AnonymousProcedures
World
Perspective
HubNet
Input/output
File
List
String
Mathematical
Plotting
BehaviorSpace
System
Built-InVariables
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
MathematicalConstants
BooleanConstants
ColorConstants
A
abs1.0
acos1.3
all?4.0
and1.0
any?2.0
approximate-hsb4.0
approximate-rgb4.0
ArithmeticOperators+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.0auto-plot-on1.0
B
back1.0bk1.0
base-colors4.0
beep2.1
behaviorspace-experiment-name5.2
behaviorspace-run-number4.1.1
both-ends4.0
breed
breed
but-first1.0butfirst1.0bf1.0but-last1.0butlast1.0bl1.0
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
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.0downhill41.0
dx1.0dy1.0
E
empty?1.0
end
end14.0
end24.0
error5.0
error-message2.1
every1.0
exp1.0
export-view3.0export-interface2.0export-output1.0export-plot1.0export-all-plots1.2.1export-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.0fd1.0
fput1.0
G
globals
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
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>-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
jump1.0
L
label
label-color
last1.0
layout-circle4.0
layout-radial4.0
layout-spring4.0
layout-tutte4.0
left1.0lt1.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.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
n-of3.1
n-values2.0
neighbors1.1neighbors41.1
<breed>-neighborslink-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>-neighborsout-link-neighbors4.0
out-<breed>-toout-link-to4.0
output-print2.1output-show2.1output-type2.1output-write2.1
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
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.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
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.1substring1.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.0uphill41.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>-withlink-with4.0
with-max2.1
with-min2.1
436
436
437
437
437
437
437
437
438
438
438
438
438
with-local-randomness4.0
without-interruption1.1
word1.0
world-width3.1world-height3.1
wrap-color1.0
write2.0
X
xcor
xor1.0
Y
ycor
->
->6.0
WhatisNetLogo?
NetLogoisaprogrammablemodelingenvironmentforsimulatingnaturalandsocial
phenomena.ItwasauthoredbyUriWilenskyin1999andhasbeenincontinuous
developmenteversinceattheCenterforConnectedLearningandComputer-Based
Modeling.
NetLogoisparticularlywellsuitedformodelingcomplexsystemsdevelopingovertime.
Modelerscangiveinstructionstohundredsorthousandsof"agents"alloperating
independently.Thismakesitpossibletoexploretheconnectionbetweenthemicro-level
behaviorofindividualsandthemacro-levelpatternsthatemergefromtheirinteraction.
NetLogoletsstudentsopensimulationsand"play"withthem,exploringtheirbehaviorunder
variousconditions.Itisalsoanauthoringenvironmentwhichenablesstudents,teachersand
curriculumdeveloperstocreatetheirownmodels.NetLogoissimpleenoughforstudentsand
teachers,yetadvancedenoughtoserveasapowerfultoolforresearchersinmanyfields.
NetLogohasextensivedocumentationandtutorials.ItalsocomeswiththeModelsLibrary,a
largecollectionofpre-writtensimulationsthatcanbeusedandmodified.Thesesimulations
addresscontentareasinthenaturalandsocialsciencesincludingbiologyandmedicine,
physicsandchemistry,mathematicsandcomputerscience,andeconomicsandsocial
psychology.Severalmodel-basedinquirycurriculausingNetLogoareavailableandmoreare
underdevelopment.
NetLogoisthenextgenerationoftheseriesofmulti-agentmodelinglanguagesincluding
StarLogoandStarLogoT.NetLogorunsontheJavavirtualmachine,soitworksonallmajor
platforms(Mac,Windows,Linux,etal).Itisrunasadesktopapplication.Commandline
operationisalsosupported.
Features
System:
Free,opensource
Cross-platform:runsonMac,Windows,Linux,etal
Internationalcharactersetsupport
Programming:
Fullyprogrammable
Approachablesyntax
LanguageisLogodialectextendedtosupportagents
Mobileagents(turtles)moveoveragridofstationaryagents(patches)
Linkagentsconnectturtlestomakenetworks,graphs,andaggregates
Largevocabularyofbuilt-inlanguageprimitives
Doubleprecisionfloatingpointmath
First-classfunctionvalues(akaanonymousprocedures,closures,lambda)
Runsarereproduciblecross-platform
Environment:
Commandcenterforon-the-flyinteraction
Interfacebuilderw/buttons,sliders,switches,choosers,monitors,textboxes,
notes,outputarea
Infotabforannotatingyourmodelwithformattedtextandimages
HubNet:participatorysimulationsusingnetworkeddevices
Agentmonitorsforinspectingandcontrollingagents
Exportandimportfunctions(exportdata,saveandrestorestateofmodel,makea
movie)
BehaviorSpace,anopensourcetoolusedtocollectdatafrommultipleparallel
runsofamodel
SystemDynamicsModeler
NetLogo3Dformodeling3Dworlds
Headlessmodeallowsdoingbatchrunsfromthecommandline
Displayandvisualization:
Line,bar,andscatterplots
Speedsliderletsyoufastforwardyourmodelorseeitinslowmotion
Viewyourmodelineither2Dor3D
Scalableandrotatablevectorshapes
Turtleandpatchlabels
APIs:
controllingAPIallowsembeddingNetLogoinascriptorapplication
extensionsAPIallowsaddingnewcommandsandreporterstotheNetLogo
language;opensourceexampleextensionsareincluded
CopyrightandLicenseInformation
Howtoreference
IfyouuseorrefertoNetLogoinapublication,weaskthatyouciteit.Thecorrectcitationis:
Wilensky,U.(1999).NetLogo.http://ccl.northwestern.edu/netlogo/.CenterforConnected
LearningandComputer-BasedModeling,NorthwesternUniversity,Evanston,IL.
ForHubNet,cite:Wilensky,U.&Stroup,W.,1999.HubNet.
http://ccl.northwestern.edu/netlogo/hubnet.html.CenterforConnectedLearningand
Computer-BasedModeling,NorthwesternUniversity.Evanston,IL.
FormodelsintheModelsLibrary,thecorrectcitationisincludedinthe"Creditsand
References"sectionofeachmodel'sInfotab.
Acknowledgments
TheCCLgratefullyacknowledgestwodecadesofsupportforourNetLogowork.Theoriginal
supportcamefromtheNationalScienceFoundation--grantnumbersREC-9814682and
REC-0126227.FurthersupporthascomefromREC-0003285,REC-0115699,DRL-0196044,
CCF-ITR-0326542,DRL-REC/ROLE-0440113,SBE-0624318,EEC-0648316,IIS-0713619,
DRL-RED-9552950,DRL-REC-9632612,andDRL-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-1614745andDRL-
1640201.AdditionalsupportcamefromtheSpencerFoundation,TexasInstruments,the
BradyFund,theMurphyfund,andtheNorthwesternInstituteonComplexSystems.
NetLogolicense
Copyright1999-2016byUriWilensky.
Thisprogram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ofMERCHANTABILITY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thisprogram;
ifnot,writetotheFreeSoftwareFoundation,Inc.,51FranklinStreet,FifthFloor,Boston,MA
02110-1301,USA.
Commerciallicenses
Commerciallicensesarealsoavailable.Toinquireaboutcommerciallicenses,pleasecontact
UriWilenskyaturi@northwestern.edu.
NetLogoUserManuallicense
Copyright1999-2016byUriWilensky.
TheNetLogoUserManualbyUriWilenskyislicensedunderaCreativeCommonsAttribution-
ShareAlike3.0UnportedLicense.
Opensource
TheNetLogosourcecodeishostedathttps://github.com/NetLogo/NetLogo.Contributions
frominterestedusersarewelcome.
Thirdpartylicenses
Scala
MuchofNetLogoiswrittenintheScalalanguageandusestheScalastandardlibraries.The
licenseforScalaisasfollows:
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
Forrandomnumbergeneration,NetLogousestheMersenneTwisterFastclassbySeanLuke.
Thecopyrightforthatcodeisasfollows:
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
PartsofNetLogo(specifically,therandom-gammaprimitive)arebasedoncodefromtheColt
library(http://acs.lbl.gov/~hoschek/colt/).Thecopyrightforthatcodeisasfollows:
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
NetLogousestheTypesafe"Config"library.Copyright(C)2011-2012TypesafeInc.
http://typesafe.comTheConfiglibraryislicensedundertheApache2.0License.Youmay
obtainacopyofthelicenseathttp://www.apache.org/licenses/LICENSE-2.0.
ApacheCommonsCodec(TM)
TheNetLogocompilerusesadigestmethodfromtheApacheCommonsCodec(TM)library.
ApacheCommonsCodec(TM)iscopyrightandtrademark2002-2014theApacheSoftware
Foundation.ItislicensedundertheApache2.0License.Youmayobtainacopyofthelicense
athttp://www.apache.org/licenses/LICENSE-2.0.
Flexmark
NetLogousestheFlexmarklibrary(andextensions)fortheinfotab.Thecopyrightandlicense
areasfollows:
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
Forthesystemdynamicsmodeler,NetLogousestheJHotDrawlibrary,whichisCopyright(c)
1996,1997byIFAInformatikandErichGamma.ThelibraryiscoveredbytheGNULGPL
(LesserGeneralPublicLicense).Thetextofthatlicenseisincludedinthe"docs"folderwhich
accompaniestheNetLogodownload,andisalsoavailablefrom
http://www.gnu.org/copyleft/lesser.html.
JOGL
For3Dgraphicsrendering,NetLogousesJOGL,aJavaAPIforOpenGL,andGluegen,an
automaticcodegenerationtool.FormoreinformationaboutJOGLandGluegen,see
jogamp.org/.BothlibrariesaredistributedundertheBSDlicense:
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
For3Dmatrixoperations,NetLogousestheMatrix3Dclass.Itisdistributedunderthe
followinglicense:
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
ForJavabytecodegeneration,NetLogousestheASMlibrary.Itisdistributedunderthe
followinglicense:
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
Forlogging,NetLogousestheLog4jlibrary.Thecopyrightandlicenseforthelibraryareas
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
Fordependencyinjection,NetLogousesthePicoContainerlibrary.Thecopyrightandlicense
forthelibraryareasfollows:
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
Forreadingmodels,NetLogousestheParboiledlibrary.Thecopyrightandlicensefor
Parboiledareasfollows:
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
TheNetLogoeditorusestheRSyntaxTextArealibrary.Thecopyrightandlicenseareas
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 &COPYRIGHT 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
TheNetLogovidextensionmakesuseoftheJCodeclibrary.Thecopyrightandlicensefor
JCodecareas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. 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-CBridge
NetLogoonMacOSXmakesuseoftheJava-Objective-CBridgelibrary.Thislibrarywas
createdbySteveHannahandisdistributedundertheApache2.0license,availableat
https://www.apache.org/licenses/LICENSE-2.0.
Webcam-capture
TheNetLogovidextensionmakesuseoftheWebcam-capturelibrary.Thecopyrightand
licenseforWebcam-captureareasfollows:
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
TheNetLogolsextensionmakesuseoftheGuavalibrary.Guavaisreleasedunderthe
ApacheLicense2.0(http://www.apache.org/licenses/LICENSE-2.0)
Gephi
ThenwextensionmakesuseoftheGephilibrary.Gephiislicensedunderthefollowingterms:
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.
RExtension
TheNetLogoRExtensionislicensedunderthefollowingterms:
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
TheNetLogoRExtensionmakesuseoftheJNAlibrary.TheJNAlibraryislicensedunderthe
followingterms:
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'sNew?
NetLogo6.0.2UserManual
Thefollowingisacondensedhistory.DetailedreleasenotesareonGitHub.
Forhelprunningmodelsmadeinoldversions,seetheTransitionGuide.
Version6.0.2(August2017)
FeatureChanges
TheautosuggestfunctionalityintroducedinNetLogo6willnowdisplayextension
primitivenames.
Anewinsert-itemprimitivewasaddedtothelanguage.Itworkssimilarlytoreplace-
item,butwithoutremovingtheitematthespecifiedindex.
Anewset-plot-background-colorprimitivewasaddedtothelanguage.Itcanbeused
inplottingcodetosetthebackgroundcoloroftheplot.
Behaviorsearch'suserinterfacehasbeenupdated.ItnowusestheJavaFXUItoolkitfor
amoremodernlookandfeel.
Bugfixes
The6.0.1autoconverterwoulderrorwhenconvertingtaskswithexactlyoneargument
(from5.3.1andearliermodelsonly).Theconversionwouldbecorrect,butitwas
confusing.Thishasnowbeenremediedandtheautoconverterwillcorrectlyconvert
modelsfrom5.3.1andearlierwithouterroringonsingle-argumenttasks.
Fixabugwhereextensionsweren'tlocatedproperlywheninapathrelativetothe
model.
Helpbrowsernowopensin64-bitWindows.
Fixaspeedregressionfortheimport-worl