Learning how to use Cormas

Before to start with Cormas, you have to become familiar with Smalltalk and VisualWorks.
A basic introduction is available online from the Cincom website:Smalltalk daily

The best way to learn how to use Cormas is to start by looking at some existing models, to become familiar with the main graphical user interfaces. The game of life proposed by John Conway, a very simple but yet fascinating cellular automata, has been implemented with Cormas. You will learn how to load it, look at the code and run simulations.

The next stage is then to design from scratch, step by step, a model. Two examples are proposed here: FireAgent model (a typical Cormas model), and StupidModel (a benchmark model to allow comparison with other popular agent-based simulation platforms).

Before to start the tutorials, be sure that Cormas is properly installed on your computer (see detailed instructions here).

Tutorial 1 : Game of Life (Conway)

In this example you will not just learn how to open an existing model but also how to perform simulation of the model.

Tutorial 2 : FireAgent Model
Download the .zip files (password = "bonjour") to work offline

The aim of this model, to be built step by step, is to simulate fire diffusion in a forest with fire agents trying to extinguish the fire.

Tutorial 3 : StupidModel
Download the .zip files (password = "bonjour") to work offline
This model has been used as a benchmark model to compare existing agent-based simulation platforms.

 

Last update : June 03, 2008

Le Cirad Centre de coopération internationale en recherche agronomique pour le développement
Legal notice © Copyright Cirad 2001-2012 cormas-webmaster@cirad.fr