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

Struct that holds all species-specific parameters. More...

#include <species.hh>

Inheritance diagram for Utopia::Models::PredatorPrey::SpeciesBaseParams:
Inheritance graph
[legend]

Public Member Functions

 SpeciesBaseParams (const Utopia::DataIO::Config &cfg)
 Load species parameters from a configuration node. More...
 
 SpeciesBaseParams ()=delete
 

Public Attributes

double cost_of_living
 Cost of living that is taken each time step. More...
 
double resource_intake
 Resource intake from eating. More...
 
double repro_resource_requ
 Minimal reproduction resources requirements. More...
 
double resource_max
 Maximal resource level. More...
 
double repro_cost
 Cost of reproduction. More...
 
double repro_prob
 Reproduction probability. More...
 

Detailed Description

Struct that holds all species-specific parameters.

Constructor & Destructor Documentation

◆ SpeciesBaseParams() [1/2]

Utopia::Models::PredatorPrey::SpeciesBaseParams::SpeciesBaseParams ( const Utopia::DataIO::Config cfg)
inline

Load species parameters from a configuration node.

◆ SpeciesBaseParams() [2/2]

Utopia::Models::PredatorPrey::SpeciesBaseParams::SpeciesBaseParams ( )
delete

Member Data Documentation

◆ cost_of_living

double Utopia::Models::PredatorPrey::SpeciesBaseParams::cost_of_living

Cost of living that is taken each time step.

◆ repro_cost

double Utopia::Models::PredatorPrey::SpeciesBaseParams::repro_cost

Cost of reproduction.

◆ repro_prob

double Utopia::Models::PredatorPrey::SpeciesBaseParams::repro_prob

Reproduction probability.

◆ repro_resource_requ

double Utopia::Models::PredatorPrey::SpeciesBaseParams::repro_resource_requ

Minimal reproduction resources requirements.

◆ resource_intake

double Utopia::Models::PredatorPrey::SpeciesBaseParams::resource_intake

Resource intake from eating.

◆ resource_max

double Utopia::Models::PredatorPrey::SpeciesBaseParams::resource_max

Maximal resource level.


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