![]() |
FIMS
v0.10.0
|
Base interface for age-length key implementations. More...
#include <base.hpp>
Public Member Functions | |
| virtual bool | IsActive () const =0 |
| Returns whether this age-to-length conversion is active and valid for use. | |
| virtual bool | PrepareForCurrentState ()=0 |
| Prepare this age-to-length conversion for the current model state. | |
| virtual bool | BuildAgeToLengthConversionRow (size_t year, size_t age, fims::Vector< Type > &out_row) const =0 |
| Builds the age-to-length conversion row for a given year and age. | |
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. | |
Public Member Functions inherited from fims_model_object::FIMSMemoryTracker | |
| void | register_self (const uint32_t id) |
| Registers a FIMSObject instance with the memory tracker. | |
Static Public Attributes | |
| static uint32_t | id_g |
Static Public Attributes inherited from fims_model_object::FIMSMemoryTracker | |
| static int | total_active_objects = 0 |
| Total number of active FIMSObject instances currently in memory. | |
Additional Inherited Members | |
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 |
Base interface for age-length key implementations.
| Type | Numeric type used by the model. |
|
pure virtual |
Builds the age-to-length conversion row for a given year and age.
| year | Year index. |
| age | Age index. |
| out_row | Output age-to-length probability row. |
Implemented in fims_popdy::AgeToLengthConversionDerived< Type >, and fims_popdy::AgeToLengthConversionFixed< Type >.
|
pure virtual |
Returns whether this age-to-length conversion is active and valid for use.
Implemented in fims_popdy::AgeToLengthConversionDerived< Type >, and fims_popdy::AgeToLengthConversionFixed< Type >.
|
pure virtual |
Prepare this age-to-length conversion for the current model state.
Implemented in fims_popdy::AgeToLengthConversionDerived< Type >, and fims_popdy::AgeToLengthConversionFixed< Type >.
|
static |
reference id for age-to-length conversion object
global counter for age-to-length conversion ids