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

Cell state, combining states for predator, prey and plant species. More...

#include <PredatorPreyPlant.hh>

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

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...
 

Detailed Description

Cell state, combining states for predator, prey and plant species.

Constructor & Destructor Documentation

◆ State()

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

Construct a cell state with the use of a RNG.

Member Data Documentation

◆ plant

PlantState Utopia::Models::PredatorPreyPlant::State::plant

The state a plant on this cell has.

◆ predator

PredatorPrey::SpeciesState Utopia::Models::PredatorPreyPlant::State::predator

The state a predator on this cell has.

◆ prey

PredatorPrey::SpeciesState Utopia::Models::PredatorPreyPlant::State::prey

The state a prey on this cell has.


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