9#ifndef POPULATION_DYNAMICS_GROWTH_EWAA_HPP
10#define POPULATION_DYNAMICS_GROWTH_EWAA_HPP
22template <
typename Type>
29 std::map<int, std::map<double, double>>
ewaa;
31 typedef typename std::map<double, double>::iterator
45 return this->ewaa[
year][
a];
Declares the GrowthBase class which is the base class for all growth functors.
The population dynamics of FIMS.
Definition catch_at_age.hpp:41
void clear_internal()
Clears the internal objects.
Definition rcpp_interface.hpp:239
EWAAGrowth class that returns the EWAA function value.
Definition ewaa.hpp:23
std::map< int, std::map< double, double > > ewaa
Definition ewaa.hpp:29
std::map< double, double >::iterator weight_iterator
Definition ewaa.hpp:32
virtual const Type evaluate(int year, const double &a)
Returns the weight at age a (in kg) from the input vector.
Definition ewaa.hpp:44
Base class for all growth functors.
Definition growth_base.hpp:24