What’s New?
NetLogo 1.3 User Manual
Feedback from users is very valuable to us in designing and
improving NetLogo. We’d like to hear from you. Please send comments,
suggestions, and questions to feedback@ccl.northwestern.edu,
and bug reports to bugs@ccl.northwestern.edu.
Version 1.3 (June 2003)
- content:
- new biology models: Sunflower, Honeycomb
- new computer science model: Dining Philosophers
- improved models: Stochastic Patchwork (bugfixes, etc.),
Equidistant Probability (bugfix, etc.), Wealth Distribution
(fixes and improvements), Connected Chemistry models
(mostly info tab changes)
- features:
- graphics window control strip (including world size adjusters,
speed slider, shapes on/off switch, display on/off switch,
and edit button)
- choice widgets, for presenting the model user with a list of
choices
- “Export World” now creates files that follow the CSV standard
correctly, so they inter-operate properly with Excel (e.g., you
can edit them in Excel and then still re-import them into NetLogo)
- the Edit menu now has “Comment”, “Uncomment”, “Shift Left”,
and “Shift Right” items for the Procedures tab: this is handy
for commenting out whole blocks of code, and reindenting blocks
of code
- redesigned Interface toolbar: new icons, removed unnecessary
Compile button, removed Halt button (and replaced it with a menu
item on the Tools menu) to discourage users from using it to
pause models (since halting a model can leave it in an
inconsistent state)
- on Java 1.3+ VM’s only, NetLogo now does all math in
Java’s “strict floating point” mode, so you get
identical results on all platforms
- language improvements:
- new primitives run and runresult let you
run Logo code constructed on the fly
- new map reporter and foreach command let you
perform any operation you want on every item in a list
- new filter primitive lets you remove list items not
satisfying a condition
- new reduce primitive lets you combine the items of a
list into a single result
- new reporter sort-by sorts a list in any
order you specify
- five primitives (list, word, sentence.
map, and foreach) now accept a variable
number of inputs: to use other than the default number, surround
the call with parentheses, for example (list 1)
- added new reporter self (so turtles don’t have to
say “turtle who” anymore; it works for patches too)
- added new math reporters asin and acos
- engine fixes:
- fixed bug in up/downhill(4) that could cause some winning
patches to be ignored if there were multiple winners
- sorting lists of strings now works again (had worked in NetLogo
1.1, was broken in 1.2)
- fixed bug where under certain circumstances using ask
inside an explicit or implicit without-interruption could cause
incorrect behavior when turtles were born, or died, or changed
breeds
- fixed some bugs in “Import World” involving strings and
agentsets
- read-from-string no longer silently ignores invalid
input that follows valid input
- fixed clear-graphics so it doesn’t clear plots too
- fixed precedence of the precision primitive to be
the same as all other prefix reporters
- changed scale-color so that for example
scale-color red 5 0 10 reports 15.0, not
14.99995
- interface fixes:
- entering a new id number into a dead turtle’s turtle monitor
now works again
- fixed bug where the items in the Procedures menu sometimes
weren’t correctly alphabetized
- fixed some cases where you could get a Java exception when
trying to edit or import shapes
- HubNet improvements:
- many improvements to usability and reliability of computer HubNet
- new computer HubNet activity: Sampler
- improved activity: Disease (improved function of “percentage-infection”
slider), Tragedy of the Commons (simplified, improved usability)
- most HubNet models can now run even when HubNet itself isn’t
running
- hubnet-set-tags removed from the language; its
functionality is now merged into hubnet-set-client-interface;
hubnet-set-client-interface has changed to
take a string and a list, and must be called before
hubnet-reset; see the Primitives Dictionary and
HubNet Guide for more information
Version 1.2.1 (May 2003)
- documentation:
- engine fixes:
- fixed 1.2-only bug where sometimes turtles would fail to draw
after you changed the world size
- fixed compiler bug where using downhill and other
primitives with variable other than a patch variable
would cause a Java exception
- saved applets can now use import-world
- interface fixes:
- fixed 1.2-only bug where running some models in BehaviorSpace would
slow them down (this had been fixed before, but only partially)
- fixed Linux/Unix-only, 1.2-only bug where the agent type
selector in the command center didn’t work
Version 1.2 (March 2003)
- models run faster now
- beta-level support for running as a native application on Mac OS X
- running the full authoring environment as an applet
in a web browser is no longer supported (saving individual
models as applets is still supported, however)
- alpha release of computer HubNet: formerly HubNet required the TI
Navigator calculator network to operate; now you can use it
over TCP/IP with networks of laptop or desktop computers
- many new primitives and other language improvements
- display of coordinates when mousing over plots
Version 1.1 (July 2002)
- models run faster now
- “Save as Applet” lets you embed your model in any web page
- printer support
- Procedures menu
- scrollable Interface tab
- contextual menus in Interface tab
- improved agent monitors
- experimental “Turtle Sizes” and “Exact Turtle Positions” options
- many new primitives
- improved HubNet support, improved activities
Version 1.0 (April 2002)
- initial release (after a series of betas)