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

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

#include <species.hh>

Inheritance diagram for Utopia::Models::PredatorPrey::PredatorParams:
Inheritance graph
[legend]
Collaboration diagram for Utopia::Models::PredatorPrey::PredatorParams:
Collaboration graph
[legend]

Public Member Functions

 PredatorParams (const Utopia::DataIO::Config &cfg)
 Construct a predator object from a configuration node.
 
 PredatorParams ()=delete
 The default constructor.
 
- Public Member Functions inherited from Utopia::Models::PredatorPrey::SpeciesBaseParams
 SpeciesBaseParams (const Utopia::DataIO::Config &cfg)
 Load species parameters from a configuration node.
 
 SpeciesBaseParams ()=delete
 

Additional Inherited Members

- Public Attributes inherited from Utopia::Models::PredatorPrey::SpeciesBaseParams
double cost_of_living
 Cost of living that is taken each time step.
 
double resource_intake
 Resource intake from eating.
 
double repro_resource_requ
 Minimal reproduction resources requirements.
 
double resource_max
 Maximal resource level.
 
double repro_cost
 Cost of reproduction.
 
double repro_prob
 Reproduction probability.
 

Detailed Description

Struct that holds all predator-specific parameters.

Constructor & Destructor Documentation

◆ PredatorParams() [1/2]

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

Construct a predator object from a configuration node.

◆ PredatorParams() [2/2]

Utopia::Models::PredatorPrey::PredatorParams::PredatorParams ( )
delete

The default constructor.


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