Utopia
2
Framework for studying models of complex & adaptive systems.
|
#include <PredatorPrey.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 | |
SpeciesState | predator |
The state a predator on this cell has. More... | |
SpeciesState | prey |
The state a prey on this cell has. More... | |
bool | moved_predator |
Flag to indicate if the predator on this cell has already moved More... | |
|
inline |
Construct a cell state with the use of a RNG.
bool Utopia::Models::PredatorPrey::State::moved_predator |
Flag to indicate if the predator on this cell has already moved
SpeciesState Utopia::Models::PredatorPrey::State::predator |
The state a predator on this cell has.
SpeciesState Utopia::Models::PredatorPrey::State::prey |
The state a prey on this cell has.