Swarmfest ‘98 Tutorial

3/19/98


Click here to start


Table of Contents

Swarmfest ‘98 Tutorial

Second session

Chapters in Simplebug tutorial

Bug in C

Bug in C - explanations

What the C program does

Bug in ObjC

Bug in ObjC: The bug as object

Typical create phase

Bug in ObjC II: The FoodSpace

The FoodSpace class

The power of inheritance

Bug in Swarm: The ModelSwarm

Creating a Swarm

Step I: Initializing

Details on createBegin method

Memory zones

Where did that zone come from?

Step II: Building the agents

Details on the buildObjects phase

Why createBegin vs. create?

Step III: Building schedules

Schedules

ActivityGroups

Implementation

Step IV: Activating the Swarm

Activation of schedule(s)

Bug in Swarm II: More bugs

Creating a population of agents

Bug in Swarm III: Loading state

Bug with Observer: Adding GUI

Creating an ObserverSwarm

Step I: Initializing

Step II: Creating objects

Step III: Building schedules

Step IV: Activating the Swarms

Integration of Swarm activities

Multilevel activation

Merging two Swarms

Managing the Raster display

What do these new objects do?

Bug with Observer II: Add probes

How the probes come in...

Brief overview of probes

Creating graphic probe to object

Creating ModelSwarm’s probe

Final frontier: Experiment Bug

Multilevel activation

Two approaches to experiments

Two approaches: Pros and cons

Creating a graph

Author: Benedikt Stefansson

Email: benedikt@ucla.edu

Home Page: http://cce.sscnet.ucla.edu/swarmcourse

Download presentation source