Utopia
2
Framework for studying models of complex & adaptive systems.
|
ForestFire model parameter struct. More...
#include <ForestFire.hh>
Public Member Functions | |
Param (const DataIO::Config &cfg) | |
Construct the parameters from the given configuration node. More... | |
Public Attributes | |
const double | p_growth |
Rate of growth per cell. More... | |
const double | p_lightning |
Frequency of lightning occurring per cell. More... | |
const double | p_immunity |
The probability (per neighbor) to be immune to a spreading fire. More... | |
ForestFire model parameter struct.
|
inline |
Construct the parameters from the given configuration node.
const double Utopia::Models::ForestFire::Param::p_growth |
Rate of growth per cell.
const double Utopia::Models::ForestFire::Param::p_immunity |
The probability (per neighbor) to be immune to a spreading fire.
const double Utopia::Models::ForestFire::Param::p_lightning |
Frequency of lightning occurring per cell.