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

The full cell struct for the ForestFire model. More...

#include <ForestFire.hh>

Collaboration diagram for Utopia::Models::ForestFire::State:
Collaboration graph
[legend]

Public Member Functions

 State ()=delete
 Remove default constructor, for safety. More...
 
template<class RNG >
 State (const DataIO::Config &cfg, const std::shared_ptr< RNG > &rng)
 Construct a cell from a configuration node and an RNG. More...
 

Public Attributes

Kind kind
 The kind of object that populates this cell, e.g. a tree. More...
 
unsigned short age
 The age of the tree on this cell. More...
 
unsigned int cluster_id
 An ID denoting to which cluster this cell belongs (if it is a tree) More...
 

Detailed Description

The full cell struct for the ForestFire model.

Constructor & Destructor Documentation

◆ State() [1/2]

Utopia::Models::ForestFire::State::State ( )
delete

Remove default constructor, for safety.

◆ State() [2/2]

template<class RNG >
Utopia::Models::ForestFire::State::State ( const DataIO::Config cfg,
const std::shared_ptr< RNG > &  rng 
)
inline

Construct a cell from a configuration node and an RNG.

Member Data Documentation

◆ age

unsigned short Utopia::Models::ForestFire::State::age

The age of the tree on this cell.

◆ cluster_id

unsigned int Utopia::Models::ForestFire::State::cluster_id

An ID denoting to which cluster this cell belongs (if it is a tree)

◆ kind

Kind Utopia::Models::ForestFire::State::kind

The kind of object that populates this cell, e.g. a tree.


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