Introduction To Computing For Complex Systems: (Session I)
Introduction To Computing For Complex Systems: (Session I)
NSF-IGERT Fellow
Center for the Study of
Complex Systems
PhD Candidate,
Political Science & Public Policy
Blog Run with
Michael
Bommarito II
Jonathan
Zelner
Course slides
will be
Posted Here!
Goals for the Class
Provide Introduction to Computational and
Agent Based Approaches to Modeling
“A Beautiful Mind”
By Sylvia Nasar (1998)
Brief Introduction to
Agent Based Modeling
Complex Systems and
Agent Based Modeling
Agent Based Models are an Approach to
Study Complex Adaptive Systems
Invented
Game Theory
Helped Develop
Atomic Bomb
Developed the
Architecture of
the Computer
Father of Agent
Based Modeling
Resnick (1991)
Wilensky (1999)
Getting Started In Netlogo
Download @ ccl.northwestern.edu/
Information
Procedures
Interface
Information
Procedures
Edit the
Information
Interface
Information
Procedures
Code for
the
Schelling’s
Segregation
Model
The Models Library
Explore the
Available
Models
Getting Started in Netlogo
Getting Started in Netlogo
Getting Started in Netlogo
Getting Started in Netlogo
Controls
Buttons
“once” buttons execute one Action
Command Center
executes specific
commands “on the fly”
Settings
Sliders
Adjust a quantity by increments
Switchers
Set a Boolean variable
(true/false)
Choosers
Select a value from a list
Views
Monitors
Offers the Current
Value of Variables
Plots
Turtles
Links
The Observer
Patches
Tile
System
with
(0,0)
Center
Origin
pxcor
min‐pxcor
max‐pxcor
world‐height
world‐width
View the Settings
View the
Settings
View the
Settings
View the
Settings
View the
Settings
View the
Settings
What is a
Torus?
Why is It
33 x 33?
Patches: Key Things
Patches do not move -- they are fixed
Descriptions of
Patch Primitives
Can Be Accessed
Through the
Netlogo
Dictionary
Turtles
Turtles
move
on
top
of
the
patches
Have
decimal
coordinates
(xcor,
ycor)
Have
an
orientation
(heading)
Can
have
different
shapes
Turtles
Classic
Hawk
&
Dove
Model
from
Evolutionary
Game
Theory
Runs
in
Netlogo
Version
3.1.5
Inspect Turtles
Select
a
Major
Color
by
Name
Customize
Colors
Using
##
from
Chart
Next Time:
The
Forest
Fire
Model