Utopia
2
Framework for studying models of complex & adaptive systems.
|
Cell state, combining states for predator, prey and plant species. More...
#include <PredatorPreyPlant.hh>
Public Member Functions | |
template<class RNGType > | |
State (const DataIO::Config &cfg, const std::shared_ptr< RNGType > &rng) | |
Construct a cell state with the use of a RNG. More... | |
Public Attributes | |
PredatorPrey::SpeciesState | predator |
The state a predator on this cell has. More... | |
PredatorPrey::SpeciesState | prey |
The state a prey on this cell has. More... | |
PlantState | plant |
The state a plant on this cell has. More... | |
Cell state, combining states for predator, prey and plant species.
|
inline |
Construct a cell state with the use of a RNG.
PlantState Utopia::Models::PredatorPreyPlant::State::plant |
The state a plant on this cell has.
PredatorPrey::SpeciesState Utopia::Models::PredatorPreyPlant::State::predator |
The state a predator on this cell has.
PredatorPrey::SpeciesState Utopia::Models::PredatorPreyPlant::State::prey |
The state a prey on this cell has.