![]() |
FIMS
v0.8.1
|
Rcpp interface that serves as the parent class for Rcpp recruitment interfaces. This type should be inherited and not called from R directly. More...
#include <rcpp_recruitment.hpp>
Public Member Functions | |
| RecruitmentInterfaceBase () | |
| The constructor. | |
| RecruitmentInterfaceBase (const RecruitmentInterfaceBase &other) | |
| Construct a new Recruitment Interface Base object. | |
| virtual | ~RecruitmentInterfaceBase () |
| The destructor. | |
| virtual uint32_t | get_id ()=0 |
| Get the ID for the child recruitment interface objects to inherit. | |
| virtual double | evaluate_mean (double spawners, double ssbzero)=0 |
| A method for each child recruitment interface object to inherit so each recruitment option can have an evaluate_mean() function. | |
| virtual double | evaluate_process (size_t pos)=0 |
| A method for each child recruitment process interface object to inherit so each recruitment process option can have a evaluate_process() function. | |
Public Member Functions inherited from FIMSRcppInterfaceBase | |
| virtual bool | add_to_fims_tmb () |
| A virtual method to inherit to add objects to the TMB model. | |
| virtual void | finalize () |
| Extracts derived quantities back to the Rcpp interface object from the Information object. | |
| virtual std::string | to_json () |
| Convert the data to json representation for the output. | |
| std::string | value_to_string (double value) |
| Report the parameter value as a string. | |
| std::string | make_dimensions (uint32_t start, uint32_t end, uint32_t rep=1) |
| Make a string of dimensions for the model. | |
Public Attributes | |
| uint32_t | id |
| The local id of the RecruitmentInterfaceBase object. | |
| SharedInt | process_id = -999 |
| The process id of the RecruitmentInterfaceBase object. | |
Public Attributes inherited from FIMSRcppInterfaceBase | |
| bool | finalized = false |
| Is the object already finalized? The default is false. | |
Static Public Attributes | |
| static uint32_t | id_g = 1 |
| The static id of the RecruitmentInterfaceBase object. | |
| static std::map< uint32_t, std::shared_ptr< RecruitmentInterfaceBase > > | live_objects |
| The map associating the IDs of RecruitmentInterfaceBase to the objects. This is a live object, which is an object that has been created and lives in memory. | |
Static Public Attributes inherited from FIMSRcppInterfaceBase | |
| static std::vector< std::shared_ptr< FIMSRcppInterfaceBase > > | fims_interface_objects |
| FIMS interface object vectors. | |
Rcpp interface that serves as the parent class for Rcpp recruitment interfaces. This type should be inherited and not called from R directly.
|
inline |
Construct a new Recruitment Interface Base object.
| other |
|
pure virtual |
A method for each child recruitment interface object to inherit so each recruitment option can have an evaluate_mean() function.
Implemented in BevertonHoltRecruitmentInterface, LogDevsRecruitmentInterface, and LogRRecruitmentInterface.
A method for each child recruitment process interface object to inherit so each recruitment process option can have a evaluate_process() function.
Implemented in BevertonHoltRecruitmentInterface, LogDevsRecruitmentInterface, and LogRRecruitmentInterface.
Get the ID for the child recruitment interface objects to inherit.
Implemented in BevertonHoltRecruitmentInterface, LogDevsRecruitmentInterface, and LogRRecruitmentInterface.