11#ifndef POPULATION_DYNAMICS_AGE_TO_LENGTH_CONVERSION_BASE_HPP
12#define POPULATION_DYNAMICS_AGE_TO_LENGTH_CONVERSION_BASE_HPP
25template <
typename Type>
60template <
typename Type>
Definition fims_vector.hpp:27
Establishes the FIMS Vector class.
Definition of the FIMSObject structure.
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
std::shared_ptr< AgeToLengthConversionBase< Type > > BuildAgeToLengthConversionFleet(const std::shared_ptr< Population< Type > > &population, const std::shared_ptr< Fleet< Type > > &fleet)
Build the active age-to-length conversion for a fleet from the current population and fleet state.
Definition runtime.hpp:44
FIMSObject struct that defines member types and returns the unique id.
Definition model_object.hpp:55
Base interface for age-length key implementations.
Definition base.hpp:26
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.
static uint32_t id_g
Definition base.hpp:27
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.