Utopia
2
Framework for studying models of complex & adaptive systems.
|
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... | |
Struct that holds all plant characterising states.
bool Utopia::Models::PredatorPreyPlant::PlantState::on_cell |
Whether a plant is on the cell.
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.