Rcpp interface that serves as the parent class for Rcpp maturity interfaces. This type should be inherited and not called from R directly.
More...
#include <rcpp_maturity.hpp>
|
|
| MaturityInterfaceBase () |
| | The constructor.
|
| |
| | MaturityInterfaceBase (const MaturityInterfaceBase &other) |
| | Construct a new Maturity Interface Base object.
|
| |
|
virtual | ~MaturityInterfaceBase () |
| | The destructor.
|
| |
| virtual uint32_t | get_id ()=0 |
| | Get the ID for the child maturity interface objects to inherit.
|
| |
| virtual double | evaluate (double x)=0 |
| | A method for each child maturity interface object to inherit so each maturity option can have an evaluate() function.
|
| |
| 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 variable 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.
|
| |
|
|
uint32_t | id |
| | The local id of the MaturityInterfaceBase object.
|
| |
|
bool | finalized = false |
| | Is the object already finalized? The default is false.
|
| |
|
|
static uint32_t | id_g = 1 |
| | The static id of the MaturityInterfaceBase object.
|
| |
|
static std::map< uint32_t, std::shared_ptr< MaturityInterfaceBase > > | live_objects |
| | The map associating the IDs of MaturityInterfaceBase to the objects. This is a live object, which is an object that has been created and lives in memory.
|
| |
|
static std::vector< std::shared_ptr< FIMSRcppInterfaceBase > > | fims_interface_objects |
| | FIMS interface object vectors.
|
| |
Rcpp interface that serves as the parent class for Rcpp maturity interfaces. This type should be inherited and not called from R directly.
◆ MaturityInterfaceBase()
Construct a new Maturity Interface Base object.
- Parameters
-
◆ evaluate()
| virtual double MaturityInterfaceBase::evaluate |
( |
double |
x | ) |
|
|
pure virtual |
◆ get_id()
| virtual uint32_t MaturityInterfaceBase::get_id |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: