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

The parameter of all species. More...

#include <species.hh>

Collaboration diagram for Utopia::Models::PredatorPrey::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.
 

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.

Constructor & Destructor Documentation

◆ SpeciesParams() [1/2]

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

Construct through a configuration file.

116 :
117 prey(cfg["prey"]),
118 predator(cfg["predator"])
119 {};
PredatorParams predator
Predator parameters.
Definition species.hh:111
PreyParams prey
Prey parameters.
Definition species.hh:108

◆ SpeciesParams() [2/2]

Utopia::Models::PredatorPrey::SpeciesParams::SpeciesParams ( )
delete

Default constructor.

Member Data Documentation

◆ predator

PredatorParams Utopia::Models::PredatorPrey::SpeciesParams::predator

Predator parameters.

◆ prey

PreyParams Utopia::Models::PredatorPrey::SpeciesParams::prey

Prey parameters.


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