Utopia  2
Framework for studying models of complex & adaptive systems.
Public Attributes | List of all members
Utopia::Models::PredatorPreyPlant::PlantState Struct Reference

Struct that holds all plant characterising states. More...

#include <species.hh>

Public Attributes

bool on_cell
 Whether a plant is on the cell. More...
 
unsigned int regeneration_counter = 0
 The regeneration time counter. More...
 

Detailed Description

Struct that holds all plant characterising states.

Member Data Documentation

◆ on_cell

bool Utopia::Models::PredatorPreyPlant::PlantState::on_cell

Whether a plant is on the cell.

◆ regeneration_counter

unsigned int Utopia::Models::PredatorPreyPlant::PlantState::regeneration_counter = 0

The regeneration time counter.

If the plant growth model if determinstic, a plant regrows after a deterministic regeneration time. The regeneration time counter counts the time that has passed since the last plant was removed from the cell. If the counter reaches the regeneration time, a new plant is on the cell and the counter is reset.

Note
Only used for GrowthModel::deterministic

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