Version: 1.8.2-RC1

# Some pedagogical materials

## 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​

This is a set of slides used to introduce GAMA in a practical way to master students in Computer Science. (Only PDF files are provided as the sources can be very heavy. Do not hesitate to ask them if needed).

## First Exercices (*)​

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

## Exercice (*): Firefly synchronization​

From UML diagram, implement a GAMA model simulating the synchronization of fireflies.

• Keywords: grid, displays, plot, synchronization.
• Subject: PDF
• A correction: gaml file

## Exercice (*): 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

## Exercice (**): Wolves, Goats, Cabbages model​

Implement an extended version of the Prey-Predator model. It allows you to manipulate grids and inheritance.

## Exercice (**): Schelling model​

Implement the segregation Schelling model on an environment (either a grid or a shafile).

## Exercice (***): Shortest path on a grid by distance diffusion​

An algorithm-oriented exercise to compute shortest paths on a grid.

• Keywords: grid, move, displays, diffusion model, algorithm.
• Subject: PDF
• A model: gaml file