Use a constant annual increase rate for herbivore reproduction.
More...
#include <reproduction_models.h>
Use a constant annual increase rate for herbivore reproduction.
- See also
- Fauna::ReproductionModel
◆ ReproductionConstMax()
| ReproductionConstMax::ReproductionConstMax |
( |
BreedingSeason |
breeding_season, |
|
|
const double |
annual_increase |
|
) |
| |
Constructor.
- Parameters
-
| annual_increase | Constant annual offspring count for one female. |
| breeding_season | When parturition occurs. |
- Exceptions
-
| std::invalid_argument | If annual_increase is negative. |
◆ get_offspring_density()
| double ReproductionConstMax::get_offspring_density |
( |
const int |
day_of_year | ) |
const |
Get the amount of offspring for one day in the year.
- Parameters
-
| day_of_year | Day of year (0=Jan 1st). |
- 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]. |
◆ annual_increase
| const double Fauna::ReproductionConstMax::annual_increase |
|
private |
◆ breeding_season
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