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::PredatorPreyPlant::SpeciesParams Struct Reference

The parameter of all species. More...

#include <species.hh>

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

Public Member Functions

 SpeciesParams (const Utopia::DataIO::Config &cfg)
 Construct through a configuration file.
 
 SpeciesParams ()=delete
 Default constructor.
 

Public Attributes

PreyParams prey
 Prey parameters.
 
PredatorParams predator
 Predator parameters.
 
PlantParams plant
 Plant parameters.
 

Detailed Description

The parameter of all species.

This struct contains for each available species one species-specific parameter struct that contains all parameters belonging to that specific species and plant.

Constructor & Destructor Documentation

◆ SpeciesParams() [1/2]

Utopia::Models::PredatorPreyPlant::SpeciesParams::SpeciesParams ( const Utopia::DataIO::Config cfg)
inline

Construct through a configuration file.

156 :
157 prey(cfg["prey"]),
158 predator(cfg["predator"]),
159 plant(cfg["plant"])
160 {};
PreyParams prey
Prey parameters.
Definition species.hh:145
PlantParams plant
Plant parameters.
Definition species.hh:151
PredatorParams predator
Predator parameters.
Definition species.hh:148

◆ SpeciesParams() [2/2]

Utopia::Models::PredatorPreyPlant::SpeciesParams::SpeciesParams ( )
delete

Default constructor.

Member Data Documentation

◆ plant

PlantParams Utopia::Models::PredatorPreyPlant::SpeciesParams::plant

Plant parameters.

◆ predator

PredatorParams Utopia::Models::PredatorPreyPlant::SpeciesParams::predator

Predator parameters.

◆ prey

PreyParams Utopia::Models::PredatorPreyPlant::SpeciesParams::prey

Prey parameters.


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