Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
Models did chapter 4 readme and models Jul 23, 2018
.Rhistory Added learning objectives Jul 30, 2018
Chapter4-Lecture.pptx writing lecture for chapter 9 Nov 27, 2018 wrote Chapter 4 lecture Nov 9, 2018

Chapter 4 - Building Agent-Based Models with NetLogo

This folder includes the accompanying resources for the chatper. For full book details, see:


This chapter provides an overview of the programming language and concepts that are used within NetLogo. NetLogo basics, such as how to create a simple environment, commands and procedures, are presented with step by step instructions for creating a simple model. Following this basic model, more advanced features are introduced. The overall aim of this chapter is to provide an understanding of the main components that make a NetLogo program. Subsequent chapters build upon the basics presented here.

There are two models available in the Models directory:

  1. first_model.nlogo presents the simple model that the chapter discusses first;

  2. advanced_model.nlogo presents the more complicated model, with grass that can be eaten (see the image below).

A picture of the advanced model

Tutorial / Lecture Slides

The lecture slides for this chapter are available: Chapter4 Lecture Slides.

The tutorial is available, in full, in Chapter 4 of the book.

For full details about the book, see: