FIMS  v0.8.0
Loading...
Searching...
No Matches
fims_popdy::EWAAGrowth< Type > Struct Template Reference

EWAAGrowth class that returns the EWAA function value. More...

#include <ewaa.hpp>

Inheritance diagram for fims_popdy::EWAAGrowth< Type >:
fims_popdy::GrowthBase< Type > fims_model_object::FIMSObject< Type >

Public Types

typedef std::map< double, double >::iterator weight_iterator
 

Public Member Functions

virtual const Type evaluate (const double &a)
 Returns the weight at age a (in kg) from the input vector.
 
virtual void create_report_vectors (std::map< std::string, fims::Vector< fims::Vector< Type > > > &report_vectors)
 Create a map of report vectors for the growth object.
 
- Public Member Functions inherited from fims_popdy::GrowthBase< Type >
 GrowthBase ()
 Constructor.
 
- Public Member Functions inherited from fims_model_object::FIMSObject< Type >
uint32_t GetId () const
 Getter that returns the unique id for parameters in the model.
 
bool CheckDimensions (size_t actual, size_t expected)
 Check the dimensions of an object.
 
virtual void get_report_vector_count (std::map< std::string, size_t > &report_vector_count)
 Get the report vector count object. used to get the length of each report vector for populating the UncertaintyReportInfo struct in FisheryModelBase.
 

Public Attributes

std::map< double, doubleewaa
 
- Public Attributes inherited from fims_model_object::FIMSObject< Type >
uint32_t id
 
std::vector< Type * > parameters
 
std::vector< Type * > random_effects_parameters
 
std::vector< Type * > fixed_effects_parameters
 

Additional Inherited Members

- Static Public Attributes inherited from fims_popdy::GrowthBase< Type >
static uint32_t id_g = 0
 

Detailed Description

template<typename Type>
struct fims_popdy::EWAAGrowth< Type >

EWAAGrowth class that returns the EWAA function value.

Member Typedef Documentation

◆ weight_iterator

template<typename Type >
typedef std::map<double,double>::iterator fims_popdy::EWAAGrowth< Type >::weight_iterator

Iterator for ewaa map object >

Member Function Documentation

◆ create_report_vectors()

template<typename Type >
virtual void fims_popdy::EWAAGrowth< Type >::create_report_vectors ( std::map< std::string, fims::Vector< fims::Vector< Type > > > &  report_vectors)
inlinevirtual

Create a map of report vectors for the growth object.

Reimplemented from fims_model_object::FIMSObject< Type >.

◆ evaluate()

template<typename Type >
virtual const Type fims_popdy::EWAAGrowth< Type >::evaluate ( const double a)
inlinevirtual

Returns the weight at age a (in kg) from the input vector.

Parameters
aage of the fish, the age vector must start at zero

Implements fims_popdy::GrowthBase< Type >.

Member Data Documentation

◆ ewaa

template<typename Type >
std::map<double, double> fims_popdy::EWAAGrowth< Type >::ewaa

map of doubles for EWAA values by age, where age starts at zero >


The documentation for this struct was generated from the following file: