Utopia 2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Utopia::Models::PredatorPrey::SpeciesState Struct Reference

Struct that holds all species states. More...

#include <species.hh>

Public Member Functions

 SpeciesState ()
 The default constructor.
 

Public Attributes

bool on_cell
 Whether the species is on the cell.
 
double resources
 The internal resources reservoir.
 

Detailed Description

Struct that holds all species states.

Constructor & Destructor Documentation

◆ SpeciesState()

Utopia::Models::PredatorPrey::SpeciesState::SpeciesState ( )
inline

The default constructor.

20 :
21 on_cell{false},
22 resources{0.}
23 {}
double resources
The internal resources reservoir.
Definition species.hh:16
bool on_cell
Whether the species is on the cell.
Definition species.hh:13

Member Data Documentation

◆ on_cell

bool Utopia::Models::PredatorPrey::SpeciesState::on_cell

Whether the species is on the cell.

◆ resources

double Utopia::Models::PredatorPrey::SpeciesState::resources

The internal resources reservoir.


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