Modular Megafauna Model 1.1.5
A physiological, dynamic herbivore simulator in C++.
Loading...
Searching...
No Matches
foraging_limits.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2020 W. Traylor <wolfgang.traylor@senckenberg.de>
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
11#ifndef FAUNA_FORAGING_LIMITS_H
12#define FAUNA_FORAGING_LIMITS_H
13
14#include <array>
15#include <stdexcept>
16
17namespace Fauna {
18
20
52double get_digestive_limit_illius_gordon_1992(const double bodymass_adult,
53 const double bodymass,
54 const double digestibility,
55 const std::array<double, 3>& ijk);
56
58
85 public:
87
98 HalfMaxIntake(const double half_max_density, const double max_intake);
99
101
106 double get_intake_rate(const double density) const;
107
108 private:
109 const double half_max_density;
110 const double max_intake;
111};
112
113} // namespace Fauna
114
115#endif // FAUNA_FORAGING_LIMITS_H
Ingestion rate as Holling’s Type II functional response.
Definition: foraging_limits.h:84
double get_intake_rate(const double density) const
Get maximum daily net energy intake [unit as max_intake].
Definition: foraging_limits.cpp:66
const double half_max_density
Definition: foraging_limits.h:109
const double max_intake
Definition: foraging_limits.h:110
Definition: average.h:16
double get_digestive_limit_illius_gordon_1992(const double bodymass_adult, const double bodymass, const double digestibility, const std::array< double, 3 > &ijk)
Get digestion-limited daily grass energy intake after Illius & Gordon (1992)
Definition: foraging_limits.cpp:16