11#ifndef CREATE_HERBIVORE_COHORT
12#define CREATE_HERBIVORE_COHORT
25 const std::shared_ptr<const Parameters>
parameters)
38 const int age_years,
Sex sex)
const;
Function class constructing HerbivoreCohort objects.
Definition: create_herbivore_cohort.h:20
CreateHerbivoreCohort(const std::shared_ptr< const Hft > hft, const std::shared_ptr< const Parameters > parameters)
Constructor.
Definition: create_herbivore_cohort.h:24
virtual HerbivoreCohort operator()(const double ind_per_km2, const int age_years, Sex sex) const
Create a new object instance.
Definition: create_herbivore_cohort.cpp:16
Parent class for CreateHerbivoreCohort.
Definition: create_herbivore_common.h:26
const std::shared_ptr< const Hft > hft
Definition: create_herbivore_common.h:43
const std::shared_ptr< const Parameters > parameters
Definition: create_herbivore_common.h:44
A herbivore cohort (age-class)
Definition: herbivore_cohort.h:25
Base class for creating herbivore cohorts.
Implementation of Fauna::HerbivoreBase as annual cohorts.
Sex
The sex of a herbivore.
Definition: herbivore_base.h:25