![]() |
FIMS
v0.10.0
|
Generic capability interface for growth models that can feed the growth-derived age-to-length conversion / bin-based WAA path in catch-at-age. More...
#include <growth_model_adapter.hpp>
Public Member Functions | |
| virtual void | SetAgeOffset (double min_age)=0 |
| Set the minimum modeled age used to translate cached age indices. | |
| virtual void | Initialize (std::size_t n_years, std::size_t n_ages, std::size_t n_sexes=1)=0 |
| Initialize any cached growth products. | |
| virtual bool | SupportsAgeToLengthConversionDerived () const =0 |
| Report whether this growth object can support the dynamic age-to-length conversion path. | |
| virtual void | PrepareGrowthProducts ()=0 |
| Prepare growth products for the current model state. | |
| virtual const GrowthProducts< Type > * | TryGetPreparedGrowthProducts () const =0 |
| Return prepared growth products without triggering preparation. | |
| virtual Type | EvaluateWeightAtLength (const Type &length) const =0 |
| Evaluate weight at a supplied length. | |
Public Member Functions inherited from fims_popdy::GrowthBase< Type > | |
| GrowthBase () | |
| Constructor. | |
| virtual const Type | evaluate (int year, const double &a)=0 |
| Calculates the growth at the independent variable value. | |
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. | |
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 |
Static Public Attributes inherited from fims_popdy::GrowthBase< Type > | |
| static uint32_t | id_g = 0 |
Static Public Attributes inherited from fims_model_object::FIMSMemoryTracker | |
| static int | total_active_objects = 0 |
| Total number of active FIMSObject instances currently in memory. | |
Generic capability interface for growth models that can feed the growth-derived age-to-length conversion / bin-based WAA path in catch-at-age.
|
pure virtual |
Evaluate weight at a supplied length.
| length | Length on the natural scale. |
Implemented in fims_popdy::VonBertalanffySchnuteGrowthModelAdapter< Type >.
|
pure virtual |
Initialize any cached growth products.
| n_years | Number of modeled years. |
| n_ages | Number of modeled ages. |
| n_sexes | Number of modeled sexes. |
Implemented in fims_popdy::VonBertalanffySchnuteGrowthModelAdapter< Type >.
|
pure virtual |
Prepare growth products for the current model state.
Implemented in fims_popdy::VonBertalanffySchnuteGrowthModelAdapter< Type >.
|
pure virtual |
Set the minimum modeled age used to translate cached age indices.
| min_age | Minimum age on the natural scale. |
Implemented in fims_popdy::VonBertalanffySchnuteGrowthModelAdapter< Type >.
|
pure virtual |
Report whether this growth object can support the dynamic age-to-length conversion path.
Implemented in fims_popdy::VonBertalanffySchnuteGrowthModelAdapter< Type >.
|
pure virtual |
Return prepared growth products without triggering preparation.
Implemented in fims_popdy::VonBertalanffySchnuteGrowthModelAdapter< Type >.