Table of Contents
Programming for Social ScientistsLecture 5
Today's topics
Managing many agents
Arrays and Linked Lists
Lists in Swarm
SimpleList
SimpleList: Sample Output
SimpleList: File Structure
SimpleList: main.m
SimpleList: Element.h/m
SimpleList: ModelSwarm.h
SimpleList: ModelSwarm.m (1)
SimpleList: ModelSwarm.m (2)
SimpleList: ModelSwarm.m (3)
SimpleList: ModelSwarm.m (4)
Some Collection syntax
Accessing Collections with Index
Typical use of List
Generating Random Numbers
Default distributions
Using the default distributions
Looking up documentation
Evol IPD
Riolo's GA algorithm in pseudo-code (see Sci. Am.)
Evol IPD: File Structure
Evol IPD: main.m
Evol IPD: ModelSwarm.h
Evol IPD: ModelSwarm.m (1)
Evol IPD: ModelSwarm (2)
Evol IPD: ModelSwarm.m (3)
Evol IPD: ModelSwarm.m (4)
Evol IPD: ModelSwarm.m (5)
Evol IPD: ModelSwarm.m (6)
Evol IPD: Tournament.h
Evol IPD: Tournament.m
Evol IPD: Player.m
Loading/Saving state
|
Author: Lars-Erik Cederman
Email: cederman@ucla.edu
Download presentation source
|