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:45
std::shared_ptr< AgeToLengthConversionBase< Type > > BuildAgeToLengthConversionFleet(const std::shared_ptr< Population< Type > > &population, const std::shared_ptr< Fleet< Type > > &fleet)
Build the active age-to-length conversion for a fleet from the current population and fleet state.
Definition runtime.hpp:44
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