|
Utopia 2
Framework for studying models of complex & adaptive systems.
|
Struct that holds all prey-species specific parameters. More...
#include <species.hh>


Public Member Functions | |
| PreyParams (const Utopia::DataIO::Config &cfg) | |
| Construct a prey object from a configuration node. | |
| PreyParams ()=delete | |
| The default constructor. | |
Public Member Functions inherited from Utopia::Models::PredatorPreyPlant::SpeciesBaseParams | |
| SpeciesBaseParams (const Utopia::DataIO::Config &cfg) | |
| Construct a species from a configuration node. | |
| SpeciesBaseParams ()=delete | |
Public Member Functions inherited from Utopia::Models::PredatorPrey::SpeciesBaseParams | |
| SpeciesBaseParams (const Utopia::DataIO::Config &cfg) | |
| Load species parameters from a configuration node. | |
| SpeciesBaseParams ()=delete | |
Public Attributes | |
| double | p_flee |
| Probability to flee from a predator if on the same cell. | |
Public Attributes inherited from Utopia::Models::PredatorPreyPlant::SpeciesBaseParams | |
| unsigned int | move_limit |
| Movement limit. | |
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. | |
Struct that holds all prey-species specific parameters.
|
inline |
Construct a prey object from a configuration node.
|
delete |
The default constructor.
| double Utopia::Models::PredatorPreyPlant::PreyParams::p_flee |
Probability to flee from a predator if on the same cell.