New Mexico Computer Science For All Patches and Agent/Environment Interactions Maureen Psaila-Dombrowski.

Slides:



Advertisements
Similar presentations
2-Day Introduction to Agent-Based Modelling Day 1: Session 2 NetLogo Style, Documentation, kinds of agents, reacting to other agents.
Advertisements

Netlogo! NetLogo is a programmable modeling environment for simulating complex systems. Modelers can give instructions to hundreds or thousands of independent.
Agents and Pervasive Computing Group Università di Modena e Reggio Emilia System Requirements NetLogo is designed: to run almost any type of computer.
13 giugno 2006Master in economia e politica sanitaria - Simulazione per la sanità 1 _Strumenti, seguito _______________________________________ Un modello.
New Mexico User Test Starlogo TNG September 16, 2006 Starlogo TNG September 16, 2006.
Netlogo and its Relatives Logo (Papert) –Language for teaching mathematics graphically –Tell turtle how to move Starlogo (Resnick) & StarlogoT (Wilensky)
Biomedical Modeling: Introduction to the Agent-based epidemic modeling
New Mexico Computer Science For All Designing and Running Simulations Maureen Psaila-Dombrowski.
Week 7 DO NOW QUESTIONS. Question: In the following segment of code, “food-location” is a ___? breed [ foragers forager ] breed [ followers follower ]
Wurzer, Lorenz, Popov: „NetLogo Workshop (Part 1)“, in eCAADe 2012 Prague, Slide 1 „Netlogo First Steps (Artif. Societies) “, in Social Simulation Conference.
New Mexico Computer Science For All
New Mexico Computer Science For All Local Variables in Netlogo Maureen Psaila-Dombrowski.
New Mexico Computer Science for All Agent-based modeling By Irene Lee December 27, 2012.
New Mexico Computer Science For All Breeds and Shapes in NetLogo Maureen Psaila-Dombrowski.
The Cartesian Coordinate System
EPIDEMIOLOGY: Introduction to the Agent-based epidemic modeling Dr. Qi Mi Department of Sports Medicine and Nutrition, SHRS, Univ. of Pitt.
New Mexico Computer Science For All More Looping in NetLogo Maureen Psaila-Dombrowski.
Department of Computer Science What is NetLogo UH-DMML  Multi-agent programmable modeling environment  Well suited for modeling complex systems evolving.
Fell View Computer Club StarLogo TNG – Session Two.
An Introduction to NetLogo given by Gabriel Wurzer. ,
New Mexico Computer Science For All Statements and Expressions in NetLogo Maureen Psaila-Dombrowski.
ABM Frameworks Dr Andy Evans With additions from Dr Nick Malleson.
2-Day Introduction to Agent-Based Modelling Day 1: Session 4 Networks.
CISC 1600 – Lecture 3.2 Simulations Complex Input & Output NetLogo.
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
Week 11 DO NOW QUESTIONS. An ask turtles block is a set of instructions that is issued to every turtle. Even though computers can do things very quickly,
New Mexico Computer Science For All Population Dynamics: Birth and Death Maureen Psaila-Dombrowski.
NetLogo Workshop Complexity And Business Analytics October 10, 2008, UM-Dearborn David Bowen, WSU Physics Slides and model files will.
Bridges To Computing General Information:  This document was created for use in the "Bridges to Computing" project of Brooklyn College.  You are invited.
New Mexico Computer Science For All Interface Input in NetLogo Maureen Psaila-Dombrowski.
An Introduction to NetLogo Gabriel Wurzer, Vienna University of Technology AnthropologischeGesellschaftWien.
New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski.
Introduction to Algorithms using Netlogo. What’s an Algorithm Definitions of Algorithm on the Web: –A procedure or formula for solving a problem.
Q4 Day 19 COLQ 201 Multiagent modeling Harry Howard Tulane University.
Week 9 DO NOW QUESTIONS. Question: If the following procedure is executed after 1 turtle is created in the program, what shape is created on the NetLogo.
Models in NetLogo Day 3 COLQ 201 Multiagent modeling Harry Howard Tulane University.
Ms. Macias Computer Science Summer POWERPOINT Presentation graphics program that allows you to produce professional-looking presentations and add.
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
New Mexico Computer Science For All Command Procedures in NetLogo Maureen Psaila-Dombrowski.
Week 10 DO NOW QUESTIONS. A programmer has created 100 turtles of random colors and randomly distributes green patches. Every time the turtles land on.
New Mexico Computer Science For All Variables and Scope Maureen Psaila-Dombrowski.
New Mexico Computer Science For All Creating Turtles Maureen Psaila-Dombrowski.
Bridges To Computing General Information:  This document was created for use in the "Bridges to Computing" project of Brooklyn College.  You are invited.
MIS 585 Special Topics in IMS Agent-Based Modeling Bertan Badur Department of Management Information Systems Boğaziçi University.
MIS 585 Special Topics in MIS: Agent-Based Modeling 2015/2016 Fall.
From: CHAPTER 9– Advance Compound Objects 3DS MAX AND ITS APPLICATIONS Advanced Compound Objects James Martin High School Computer Multimedia and Animation.
Python Programming, 2/e1 Python Programming: An Introduction to Computer Science Chapter 4 Objects and Graphics.
Biology: foraging Day 6 COLQ 201 Multiagent modeling Harry Howard Tulane University.
Example 2-5 Histograms Capital Credit Union Issue: Analyze credit card balances for Capital Credit Union customers using a frequency distribution and histogram.
1 Sections 5.1 – 5.2 Digital Image Processing Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Sistemi per la Gestione Aziendale - Proff Giuseppe Zollo Cristina Ponsiglione 1 Sistemi per la Gestione Aziendale. AA Ingegneria Gestionale (LM)
M10 WS11:Krankenhausbedarfsplanung The World as We See It given by Gabriel Wurzer and Wolfgang E. Lorenz
1 Agent-Based Tools: focus on NetLogo Ing. Cristina Ponsiglione University of Naples Federico II Laboratorio di Simulazione ad Agenti.
M10 WS11:Krankenhausbedarfsplanung More, More and Even-More More given by Gabriel Wurzer and Wolfgang E. Lorenz
Visual Basic .NET BASICS
An Introduction to NetLogo given by Gabriel Wurzer and Wolfgang E
AnthropologischeGesellschaftWien
Management Information Systems
MIS 643 Agent-Based Modeling NetLogo: Summary of Manual and Dictionary.
Microsoft Visual Basic 2005 BASICS
Creating Simple Agent-Based Models
Management Information Systems
An introduction to Netlogo agent-based software
Welcome to Computer Science!
Hands-On given by Gabriel Wurzer and Wolfgang E. Lorenz
MIS 643 Agent-Based Modeling and Simulation 2016/2017 Fall.
Just Basic Lesson 15 Mr. Kalmes.
creating a ecosystems model in net logo
Graphing on a Coordinate plane
Presentation transcript:

New Mexico Computer Science For All Patches and Agent/Environment Interactions Maureen Psaila-Dombrowski

Why are Patches Important Agent based modeling ▫Agents (turtles) interact with other agents (turtles) ▫Agents (turtles) interact with the environment (patches) Turtle – Patch interaction is an important part of creating models in NetLogo

Patches in NetLogo Patches are a type of agent The NetLogo world is a two dimensional grid of "patches” - like a tiled floor Unique identifier ▫Turtles have an number: ask turtle 1 ▫Patches have Coordinates: pxcor pycor  Default Origin: 0 0  All other patches are referenced to the origin  Ask patch 1 1

Patches NetLogo World Patches Coordinates: pxcor pycor max-pxcor = 3 min-pxcor = -3 Max-pycor = 3 Min-pycor = -3 Number of Patches (Max - min + 1) Total across = 7 Total up/down = 7 Total patches = 7 x 7 Total patches = 49

Can change the number of patches in the 2D NetLogo world ▫Interface tab ▫Settings button (upper right corner) Patches – changing number of patches

Command ▫Turtles: create-turtles # ▫Patches: resize-world # # # # resize-world min-pxcor max-pxcor min-pycor max-pycor resize-world Patches – changing number of patches

For Turtles – set size # Can change the size of patches in the 2D NetLogo world ▫Interface tab ▫Settings button (upper right corner) Patches – changing size of patches

Command ▫Turtles: set size # ▫Patches: set-patch-size # set-patch-size 10 Patches – changing size of patches

Other Patch Related Commands clear-patches set pcolor # (or name or RGB) ask patch # # [commands] ask patches [commands] random-pxcor / random-pycor distancexy # # patch-ahead

Turtle/Patch Interactions Turtles can interact with patches in many ways Variety of Triggers  Patch color  Patch location  Patch occupant (other turtles, breeds)

Turtle/Patch Interactions Response  Change Turtle related property  Shape/Color/Size  Direction  Die/propagate  Variable  Change Patch characteristics  Color  Variable  Other Response