Reproduction rate increases linearly with fat reserves up to maximum.
More...
#include <reproduction_models.h>
Reproduction rate increases linearly with fat reserves up to maximum.
◆ ReproductionLinear()
| ReproductionLinear::ReproductionLinear |
( |
BreedingSeason |
breeding_season, |
|
|
const double |
max_annual_increase |
|
) |
| |
Constructor.
- Parameters
-
| max_annual_increase | Maximum annual offspring count for one female under full fat reserves. |
| breeding_season | When parturition occurs. |
- Exceptions
-
| std::invalid_argument | If max_annual_increase is negative. |
◆ get_offspring_density()
| double ReproductionLinear::get_offspring_density |
( |
const int |
day_of_year, |
|
|
const double |
body_condition |
|
) |
| const |
Get the amount of offspring for one day in the year.
- Parameters
-
| day_of_year | Day of year (0=Jan 1st). |
| body_condition | Fat mass divided by potential maximum fat mass [kg/kg]. |
- Returns
- The average number of children a female gives birth to at given day.
- Exceptions
-
| std::invalid_argument | If day_of_year not in [0,364] or body_condition not in [0,1]. |
◆ breeding_season
◆ max_annual_increase
| const double Fauna::ReproductionLinear::max_annual_increase |
|
private |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/modular-megafauna-model/checkouts/latest/src/Fauna/reproduction_models.h
- /home/docs/checkouts/readthedocs.org/user_builds/modular-megafauna-model/checkouts/latest/src/Fauna/reproduction_models.cpp