NetLogo
Paradigms | multi-paradigm: educational, procedural, agent-based, simulation |
---|---|
Family | Lisp |
Designed by | Uri Wilensky |
Developer | Northwestern University Center for Connected Learning and Computer-Based Modeling |
First appeared | 1999 |
Stable release | 6.4.0[1]
/ 17 November 2023 |
Typing discipline | Dynamic, strong |
Scope | Lexical |
Implementation language | Scala, Java |
Platform | IA-32, x86-64 |
OS | Cross-platform: JVM |
License | GPL |
Filename extensions | .nlogo, .nlogo3d, .nls |
Website | ccl |
Influenced by | |
Logo, StarLogo |
NetLogo is a programming language and integrated development environment (IDE) for agent-based modeling.
About
NetLogo was designed by Uri Wilensky, in the spirit of the programming language Logo, to be "low threshold and no ceiling". It teaches programming concepts using agents in the form of turtles, patches, links and the observer.[2] NetLogo was designed with multiple audiences in mind, in particular: teaching children in the education community, and for domain experts without a programming background to model related phenomena.[3] Many scientific articles have been published using NetLogo.[4]
The NetLogo environment enables exploration of emergent phenomena. It comes with an extensive models library including models in a variety of domains, such as economics, biology, physics, chemistry, psychology, and system dynamics.[5] NetLogo allows exploration by modifying switches, sliders, choosers, inputs, and other interface elements.[6] Beyond exploring, NetLogo allows authoring new models and modifying extant models.
NetLogo is open source and freely available from the NetLogo website.[7] It is in use in a wide variety of educational contexts from elementary school to graduate school.[8][9][10][11] Many teachers make use of NetLogo in their curricula.[12][13]
NetLogo was designed and authored by Uri Wilensky,[14] director of Northwestern University's Center for Connected Learning and Computer-Based Modeling (CCL).[15]
Other features
In addition to agent-based modeling, NetLogo also includes basic support for dynamic system modeling.
Books
Several books have been published about NetLogo.[16]
Books available in print include:
- Wilensky, Uri; Rand, William (2015). An introduction to agent-based modeling: Modeling natural, social and engineered complex systems with NetLogo. Cambridge: MIT Press. ISBN 978-0-262-73189-8.
- Railsback, Steven F.; Grimm, Volker (2011). Agent-Based and Individual-Based Modeling: A Practical Introduction. Cambridge: Princeton University Press. ISBN 978-0-691-13674-5.
- O'Sullivan, David; Perry, George (2013). Spatial Simulation: Exploring Pattern and Process. Wiley-Blackwell. ISBN 978-1-119-97079-8.
- Gilbert, Nigel; Troitzsch, Klaus G. (2005). Simulation for the Social Scientist, Second Edition. London: McGraw Hill. ISBN 978-0-335-21600-0.
- Andersen, Britt (2014). Computational Neuroscience and Cognitive Modeling (CCL). London: Sage. ISBN 978-1-4462-4930-7.
- Romanowska, Iza; Wren, Colin D.; Crabtree, Stefania A. (2021). Agent Based Modeling for Archaeology: Simulating the Complexity of Societies. Santa Fe, New Mexico: Santa Fe Institute Press. ISBN 978-1-947864-25-2.
Books available online include:
- Vidal, Jose (2010). "Fundamentals of Multiagent Systems Using NetLogo" (PDF).
Online courses
As of 2019[update], several massive open online courses are being offered that use NetLogo for assignments and/or demonstrations:
- Mitchell, Melanie. "Introduction to Complexity". Santa Fe Institute.
- Page, Scott E. "Model Thinking". University of Michigan.
- Brooks, Peter. "Introduction to Comp Sci". Stuyvesant High School.
Technical foundation
NetLogo is free and open-source software, released under a GNU General Public License (GPL).[17] Commercial licenses are also available. It is written in Scala and Java and runs on the Java virtual machine (JVM).[18] At its core is a hybrid interpreter/compiler that partially compiles user code to JVM bytecode.[19]
NetLogo Web is a version that runs on JavaScript, instead of the JVM, so models may be run in a web browser. However, it does not have all features of the desktop version, and the official website advises that the "desktop version of NetLogo is recommended for most uses".[20]
Examples
A simple multiagent model in NetLogo is the Wolf-Sheep Predation model,[21] which is shown in the screenshot above. It models the population growth of a predator/prey system over time. It has the following characteristics:
- There are two breeds of turtles, called sheep and wolves.
- Sheep and wolves move randomly and have limited energy.
- Wolves and sheep lose energy by moving. If a wolf or sheep has zero energy, it dies.
- Sheep gain energy by eating grass.
- Wolves gain energy by eating sheep.
- Both wolves and sheep can reproduce, sharing energy with their offspring.
HubNet
HubNet is a technology that uses NetLogo to run participatory simulations in the classroom.[22] In a participatory simulation, a whole group of users takes part in enacting the behavior of a system. Using an individual device, such as a networked computer or Texas Instruments graphing calculator, each user acts as a separate, independent agent. One example of a HubNet activity is Tragedy of the Commons,[23] which models the economic problem called the tragedy of the commons.
See also
References
- ^ "Release 6.4.0". 17 November 2023. Retrieved 19 November 2023.
- ^ Wilensky, Uri (1999–2019). "Types of Agents in NetLogo". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Kornhauser, Daniel; Rand, William; Wilensky, Uri (November 15–17, 2007). Visualization Tools for Agent-Based Modeling in NetLogo (PDF). Agent2007. The Center for Connected Learning and Computer-Based Modeling (CCL). Chicago, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Wilensky, Uri (1999–2019). "NetLogo References". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Wilensky, Uri (1999–2019). "NetLogo Models Library". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Wilensky, Uri (1999–2019). "Interface Guide". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Wilensky, Uri (1999–2019). "Download NetLogo". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Sengupta, Pratim; Wilensky, Uri (2011). "Lowering the Learning Threshold: Multi-Agent-Based Models and Learning Electricity" (PDF). The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Wilensky, Uri; Novak, Michael (2010). "Teaching and Learning Evolution as an Emergent Process: The BEAGLE project (chapter 10)". In Taylor, R.; Ferrari, M. (eds.). Epistemology and Science Education: Understanding the Evolution vs. Intelligent Design Controversy (PDF). New York: Routledge.
- ^ Blikstein, Paulo; Wilensky, Uri (2009). "An Atom is Known by the Company it Keeps: A Constructionist Learning Environment for Materials Science Using Agent-Based Modeling (CCL)" (PDF). International Journal of Computers for Mathematical Learning. 14 (2): 81–119. doi:10.1007/s10758-009-9148-8. S2CID 10500589.
- ^ Levy, Sharona T.; Wilensky, Uri (2009). "Students' Learning with the Connected Chemistry (CC1) Curriculum: Navigating the Complexities of the Particulate World" (PDF). Journal of Science Education and Technology. 18 (3): 243–254. Bibcode:2009JSEdT..18..243L. doi:10.1007/s10956-009-9145-7. S2CID 62526922.
- ^ Wilensky, Uri (1999–2019). "University, secondary, and online courses that utilize NetLogo". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ Holmes, David M. "Comp Sci at Stuyvesant with D. Holmes". Professional web site for David Holmes. New York City, New York, United States. Retrieved 2019-05-03.
- ^ "Profile: Dr. Uri Wilensky".
- ^ Tisue, Seth; Wilensky, Uri (October 2004). NetLogo: Design and Implementation of a Multi-Agent Modeling Environment (PDF). Agent2004. Chicago, Illinois. Retrieved October 4, 2012.
- ^ Wilensky, Uri (1999–2019). "NetLogo: Resources and Links". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.
- ^ "Under what license is NetLogo released? Is the source code available?".
- ^ "NetLogo Frequently Asked Questions (FAQ)". December 14, 2015.
- ^ Stonedahl, Forrest; Tisue, Seth; Wilensky, Uri (2006). Breeding faster turtles: Progress towards a NetLogo compiler (PDF). Agent 2006. Chicago, Illinois. Retrieved October 22, 2012.
- ^ "NetLogo Web".
- ^ "Wolf Sheep Predation".
- ^ "HubNet Guide". December 14, 2015.
- ^ Wilensky, Uri (2002). "Tragedy of the Commons HubNet". The Center for Connected Learning and Computer-Based Modeling (CCL). Evanston, Illinois: Northwestern University. Retrieved 2019-05-03.