Fire Agent Model - version {

 

Firemen only call for help when the fire is large.
To download this tutorial =.

Fire Agent Model - Version 7
Defining Aggregate class

7.1.1 Add a new pov method

7.1.2 Add two symbols for «needHelp» and «noHelpneeded»

7.2

Modify the Fireman class

7.2.1 Add a new control method named «alarmCallingAggregate»

7.2.2 Modify control method which is named «step»

7.3

Adjust the initial instanciation of Fire Model

7.3.1 Add a new init method named «initAggregate»

Adjust the scheduling of Fire Model

Run version 7 of Fire Model

 

 


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