Utopia  2
Framework for studying models of complex & adaptive systems.
Public Member Functions | Public Attributes | List of all members
Utopia::Models::ForestFire::Param Struct Reference

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...
 

Detailed Description

ForestFire model parameter struct.

Constructor & Destructor Documentation

◆ Param()

Utopia::Models::ForestFire::Param::Param ( const DataIO::Config cfg)
inline

Construct the parameters from the given configuration node.

Member Data Documentation

◆ p_growth

const double Utopia::Models::ForestFire::Param::p_growth

Rate of growth per cell.

◆ p_immunity

const double Utopia::Models::ForestFire::Param::p_immunity

The probability (per neighbor) to be immune to a spreading fire.

◆ p_lightning

const double Utopia::Models::ForestFire::Param::p_lightning

Frequency of lightning occurring per cell.


The documentation for this struct was generated from the following file: