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

Log Devs class that returns the log of the input added to the log of the recruitment deviations. More...

#include <log_r.hpp>

Inheritance diagram for fims_popdy::LogR< Type >:
fims_popdy::RecruitmentBase< Type > fims_model_object::FIMSObject< Type >

Public Member Functions

virtual const Type evaluate_process (size_t pos)
 Log of recruitment approach to adding error to expected recruitment.
 
virtual const Type evaluate_mean (const Type &spawners, const Type &phi_0)
 
- Public Member Functions inherited from fims_popdy::RecruitmentBase< Type >
 RecruitmentBase ()
 Constructor.
 
void Prepare ()
 Prepares the recruitment deviations vector.
 
void PrepareConstrainedDeviations ()
 Prepare constrained recruitment deviations. Based on ADMB sum-to-zero constraint implementation. We still need to add an additional penalty to the PrepareConstrainedDeviations method. More discussion can be found here: https://groups.google.com/a/ADMB-project.org/g/users/c/63YJmYGEPuE.
 
- 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 create_report_vectors (std::map< std::string, fims::Vector< fims::Vector< Type > > > &report_vectors)
 Create a map of report vectors for the object. used to populate the report_vectors map in FisheryModelBase.
 
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.
 

Additional Inherited Members

- Public Attributes inherited from fims_popdy::RecruitmentBase< Type >
fims::Vector< Typelog_recruit_devs
 
bool constrain_deviations = false
 
fims::Vector< Typelog_rzero
 
fims::Vector< Typelog_r
 
fims::Vector< Typelog_expected_recruitment
 
bool estimate_log_recruit_devs = true
 
int process_id = -999
 
std::shared_ptr< fims_popdy::RecruitmentBase< Type > > process
 
std::shared_ptr< fims_popdy::RecruitmentBase< Type > > recruitment
 
- 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
 
- Static Public Attributes inherited from fims_popdy::RecruitmentBase< Type >
static uint32_t id_g = 0
 

Detailed Description

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

Log Devs class that returns the log of the input added to the log of the recruitment deviations.

Member Function Documentation

◆ evaluate_mean()

template<typename Type >
virtual const Type fims_popdy::LogR< Type >::evaluate_mean ( const Type spawners,
const Type phi_0 
)
inlinevirtual

Empty return of base class function

Implements fims_popdy::RecruitmentBase< Type >.

◆ evaluate_process()

template<typename Type >
virtual const Type fims_popdy::LogR< Type >::evaluate_process ( size_t  pos)
inlinevirtual

Log of recruitment approach to adding error to expected recruitment.

The Log Recruitment implementation: \( \text{log expected recruitment} \)

Parameters
posPosition index, e.g., which year.

Implements fims_popdy::RecruitmentBase< Type >.


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