Pedagogical materials
This page collects supplementary course notes, exercise sheets and example model files. Many resources are labelled for GAMA 1.9.x or 1.8.2; their code and interface instructions may differ from GAMA 2026-11. For current workflows, start with the tutorials and the GAML reference.
Initiation to algorithms with Scratch​
A set of exercises for your first step to algorithms using the graphical tool Scratch: PDF.
Memo GAML​
A summary of the organization of a GAML model, its main parts, and the main keywords, statements: PDF.
Class materials​
These course slides introduce GAMA through practical exercises for graduate-level computer-science students. Only PDF files are provided.
- Introduction to Agent-Based Modeling and simulation
- Introduction to the GAMA Platform
- A modeling process cycle
- First steps in GAMA with the Schelling model
- A correction: gama project
- Introduction of grids in GAMA models with the ChouChevLoup model
- Data file: Environment asc file
- Introduction of GIS data in GAMA models, using a traffic model
- Data files: Environment files
- A correction: gama project
- Application exercise: Evacuation of the Phuc Xa district of Hanoi
- Data files: Environment files
First Exercises (*)​
A set of exercises going from the building of simple models (opinion diffusion) to training exercises about specific modeling aspects (iterators on containers, scheduling...)
- Keywords: grid, displays, plot, containers, iterators, scheduling.
- Subject: PDF
- A correction: gaml files
Exercise (*): Firefly synchronization​
From UML diagram, implement a GAMA model simulating the synchronization of fireflies.
Exercise (*): Firefighter model​
Implement the model given in the model description file. The guide file helps you to separate the implementation of the structure of the model, its initialization, its dynamics, and ways to visualize it.
- Keywords: grid, inheritance, displays, plot, 3D.
- Model description: PDF
- Guide: PDF
- A correction: gaml file
Exercise (**): Wolves, Goats, Cabbages model​
Implement an extended version of the Prey-Predator model. It allows you to manipulate grids and inheritance.
- Keywords: grid, inheritance, displays, plot, prey-predator model.
- Detailed model description: PDF
- Data file: Environment asc file
- A correction: gaml file
Exercise (**): Schelling model​
Implement the segregation Schelling model on an environment (either a grid or a shapefile).
- Keywords: grid, GIS data, displays, plot, Graphical modeling, Schelling model.
- Subject: PDF
- Data file: Environment files
- A correction: gaml file
Exercise (**): Traffic model​
- Keywords: GIS data, graph, skills, moving skill, displays, plot, mobility model.
- Subject: PDF
- Data file: Environment files
- A correction: gaml file
Exercise (***): Shortest path on a grid by distance diffusion​
An algorithm-oriented exercise to compute shortest paths on a grid.