PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

NetLogo

NetLogo

NetLogo is a pl created in 1999 by Uri Wilensky.

#282on PLDB 23Years Old 621Users
4Books 10Papers 4kRepos

NetLogo is an agent-based programming language and integrated modeling environment.. Read more on Wikipedia...


Example from Linguist:
patches-own [ living? ;; indicates if the cell is living live-neighbors ;; counts how many neighboring cells are alive ] to setup-blank clear-all ask patches [ cell-death ] reset-ticks end to setup-random clear-all ask patches [ ifelse random-float 100.0 < initial-density [ cell-birth ] [ cell-death ] ] reset-ticks end to cell-birth set living? true set pcolor fgcolor end to cell-death set living? false set pcolor bgcolor end to go ask patches [ set live-neighbors count neighbors with [living?] ] ;; Starting a new "ask patches" here ensures that all the patches ;; finish executing the first ask before any of them start executing ;; the second ask. This keeps all the patches in synch with each other, ;; so the births and deaths at each generation all happen in lockstep. ask patches [ ifelse live-neighbors = 3 [ cell-birth ] [ if live-neighbors != 2 [ cell-death ] ] ] tick end to draw-cells let erasing? [living?] of patch mouse-xcor mouse-ycor while [mouse-down?] [ ask patch mouse-xcor mouse-ycor [ ifelse erasing? [ cell-death ] [ cell-birth ] ] display ] end

Language features

Feature Supported Example Token
Booleans true false
Comments
; A comment
Line Comments
; A comment
;
Semantic Indentation ϴ

Books about NetLogo from ISBNdb

title authors year publisher
An Introduction to Agent-Based Modeling: Modeling Natural, Social, and Engineered Complex Systems with NetLogo (The MIT Press) Wilensky, Uri and Rand, William 2015 The MIT Press
Agent-Based Spatial Simulation with NetLogo Volume 1 Banos, Arnaud and Lang, Christophe and Marilleau, Nicolas 2015 ISTE Press - Elsevier
Agent-based Computational Economics using NetLogo Damaceanu, Romulus-Catalin 2013 Bentham Science Publishers
Agent-based Computational Economics using NetLogo Damaceanu, Romulus Catalin 2018 Bentham Science Publishers

Publications about NetLogo from Semantic Scholar

title authors year citations influentialCitations
Improving Execution Speed of Models Implemented in NetLogo S. Railsback and D. Ayllón and U. Berger and V. Grimm and S. Lytinen and C. Sheppard and Jan C. Thiele 2017 31 1
PyNetLogo: Linking NetLogo with Python M. Jaxa-Rozen and J. Kwakkel 2018 29 2
Fuzzy Logic for Social Simulation Using NetLogo L. Izquierdo and D. Olaru and S. Izquierdo and S. Purchase and G. Soutar 2015 25 0
Extracting OWL Ontologies from Agent-Based Models: A Netlogo Extension J. Gareth Polhill 2015 13 2
NetLogo — An alternative way of simulating mobile ad hoc networks Miroslav Babis and P. Magula 2012 9 0
An agent-based simulation of a release process for encapsulated flavour using the NetLogo platform M. Zandi and M. Mohebbi 2015 7 0
LevelSpace: A NetLogo Extension for Multi-Level Agent-Based Modeling A. Hjorth and Bryan Head and C. Brady and U. Wilensky 2020 6 0
An Introduction to the NetLogo Modeling Environment D. Stigberg 2012 3 0
Мультиагентное моделирование в среде NetLogo Konstantin Nikolaevich Mezencev 2015 1 0
HLogo: A Haskell STM-Based Parallel Variant of NetLogo Nikolaos Bezirgiannis and I. Prasetya and I. Sakellariou 2016 1 0
factor.html · netlogo.html · yara.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com