diff --git a/docs/annotated.html b/docs/annotated.html index b312c14..d62c454 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -113,8 +113,8 @@  CFleetInterfaceBaseRcpp interface that serves as the parent class for Rcpp fleet interfaces. This type should be inherited and not called from R directly  CGrowthInterfaceBaseRcpp interface that serves as the parent class for Rcpp growth interfaces. This type should be inherited and not called from R directly  CIndexDataInterfaceRcpp interface for data as an S4 object. To instantiate from R: fleet <- new(fims$Index) - CJsonParserParses JSON strings and generates JSON values - CJsonValueRepresents a JSON value + CJsonParser + CJsonValue  CLogisticMaturityInterfaceRcpp interface for logistic maturity as an S4 object. To instantiate from R: logistic_maturity <- new(fims$logistic_maturity)  CLogisticSelectivityInterfaceRcpp interface for logistic selectivity as an S4 object. To instantiate from R: logistic_selectivity <- new(fims$logistic_selectivity)  CMaturityInterfaceBaseMaturityInterfaceBase class should be inherited to define different Rcpp interfaces for each possible maturity function diff --git a/docs/classBevertonHoltRecruitmentInterface-members.html b/docs/classBevertonHoltRecruitmentInterface-members.html index 707deb7..f71bac6 100644 --- a/docs/classBevertonHoltRecruitmentInterface-members.html +++ b/docs/classBevertonHoltRecruitmentInterface-members.html @@ -89,7 +89,7 @@ log_rzeroBevertonHoltRecruitmentInterface log_sigma_recruitBevertonHoltRecruitmentInterface logit_steepBevertonHoltRecruitmentInterface - RecruitmentInterfaceBase()RecruitmentInterfaceBaseinline + RecruitmentInterfaceBase() (defined in RecruitmentInterfaceBase)RecruitmentInterfaceBaseinline ~BevertonHoltRecruitmentInterface() (defined in BevertonHoltRecruitmentInterface)BevertonHoltRecruitmentInterfaceinlinevirtual ~RecruitmentInterfaceBase() (defined in RecruitmentInterfaceBase)RecruitmentInterfaceBaseinlinevirtual diff --git a/docs/classBevertonHoltRecruitmentInterface.html b/docs/classBevertonHoltRecruitmentInterface.html index a8ee8c7..068b074 100644 --- a/docs/classBevertonHoltRecruitmentInterface.html +++ b/docs/classBevertonHoltRecruitmentInterface.html @@ -105,9 +105,6 @@ virtual double evaluate_nll ()  evaluate recruitment nll More...
  -- Public Member Functions inherited from RecruitmentInterfaceBaseRecruitmentInterfaceBase () -  - Public Member Functions inherited from FIMSRcppInterfaceBase virtual bool add_to_fims_tmb () diff --git a/docs/classGrowthInterfaceBase.html b/docs/classGrowthInterfaceBase.html index 6193cc6..13c0d87 100644 --- a/docs/classGrowthInterfaceBase.html +++ b/docs/classGrowthInterfaceBase.html @@ -126,6 +126,7 @@

Detailed Description

Rcpp interface that serves as the parent class for Rcpp growth interfaces. This type should be inherited and not called from R directly.

+

Growth Rcpp interface *

Member Data Documentation

◆ id

diff --git a/docs/classJsonParser.html b/docs/classJsonParser.html index 711a916..3758bd0 100644 --- a/docs/classJsonParser.html +++ b/docs/classJsonParser.html @@ -76,21 +76,15 @@
-

Parses JSON strings and generates JSON values. - More...

-

#include <fims_json.hpp>

- - -

Public Member Functions

JsonValue Parse (const std::string &json)
 Parse a JSON string and return the corresponding JSON value. More...
 
void WriteToFile (const std::string &filename, JsonValue jsonValue)
 Write a JSON value to a file. More...
 
void Show (JsonValue jsonValue)
 Display a JSON value to the standard output. More...
 

Detailed Description

@@ -111,8 +105,7 @@

- -

Parse a JSON string and return the corresponding JSON value.

+

Parse a JSON string and return the corresponding JSON value.

Parse a JSON string and return the corresponding JSON value.

Parameters
@@ -138,8 +131,7 @@

- -

Display a JSON value to the standard output.

+

Display a JSON value to the standard output.

Display a JSON value to the standard output.

Parameters

jsonThe JSON string to parse.
@@ -174,8 +166,7 @@

- -

Write a JSON value to a file.

+

Write a JSON value to a file.

Write a JSON value to an output file.

Parameters

jsonValueThe JSON value to display.
@@ -183,6 +174,7 @@

-

Represents a JSON value. - More...

-

#include <fims_json.hpp>

filenameThe name of the output file.
- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Public Member Functions

JsonValue ()
 Default constructor, initializes to Null value.
 JsonValue ()
 
JsonValue (int num)
 Constructor for numeric JSON value (i.e., integer).
 JsonValue (int num)
 
JsonValue (double num)
 Constructor for numeric JSON value (i.e., double).
 JsonValue (double num)
 
JsonValue (const std::string &str)
 Constructor for string JSON value.
 JsonValue (const std::string &str)
 
JsonValue (bool b)
 Constructor for boolean JSON value.
 JsonValue (bool b)
 
JsonValue (const JsonObject &obj)
 Constructor for JSON object value.
 JsonValue (const JsonObject &obj)
 
JsonValue (const JsonArray &arr)
 Constructor for JSON array value.
 JsonValue (const JsonArray &arr)
 
-JsonValueType GetType () const
 Get the type of the JSON value.
JsonValueType GetType () const
 
-int GetInt () const
 Get the numeric value as an integer.
int GetInt () const
 
-double GetDouble () const
 Get the numeric value as a double.
double GetDouble () const
 
-const std::string & GetString () const
 Get the string value.
const std::string & GetString () const
 
-bool GetBool () const
 Get the boolean value.
bool GetBool () const
 
-JsonObjectGetObject ()
 Get the JSON object.
JsonObjectGetObject ()
 
-JsonArrayGetArray ()
 Get the JSON array.
JsonArrayGetArray ()
 

Detailed Description

Represents a JSON value.

-

The documentation for this class was generated from the following file:
    +

Constructor & Destructor Documentation

+ +

◆ JsonValue() [1/7]

+ +
+
+ + + + + +
+ + + + + + + +
JsonValue::JsonValue ()
+
+inline
+
+

Default constructor, initializes to Null value.

+ +
+
+ +

◆ JsonValue() [2/7]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonValue::JsonValue (int num)
+
+inline
+
+

Constructor for numeric JSON value (i.e., integer).

+ +
+
+ +

◆ JsonValue() [3/7]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonValue::JsonValue (double num)
+
+inline
+
+

Constructor for numeric JSON value (i.e., double).

+ +
+
+ +

◆ JsonValue() [4/7]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonValue::JsonValue (const std::string & str)
+
+inline
+
+

Constructor for string JSON value.

+ +
+
+ +

◆ JsonValue() [5/7]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonValue::JsonValue (bool b)
+
+inline
+
+

Constructor for boolean JSON value.

+ +
+
+ +

◆ JsonValue() [6/7]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonValue::JsonValue (const JsonObjectobj)
+
+inline
+
+

Constructor for JSON object value.

+ +
+
+ +

◆ JsonValue() [7/7]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonValue::JsonValue (const JsonArrayarr)
+
+inline
+
+

Constructor for JSON array value.

+ +
+
+

Member Function Documentation

+ +

◆ GetArray()

+ +
+
+ + + + + +
+ + + + + + + +
JsonArray& JsonValue::GetArray ()
+
+inline
+
+

Get the JSON array.

+ +
+
+ +

◆ GetBool()

+ +
+
+ + + + + +
+ + + + + + + +
bool JsonValue::GetBool () const
+
+inline
+
+

Get the boolean value.

+ +
+
+ +

◆ GetDouble()

+ +
+
+ + + + + +
+ + + + + + + +
double JsonValue::GetDouble () const
+
+inline
+
+

Get the numeric value as a double.

+ +
+
+ +

◆ GetInt()

+ +
+
+ + + + + +
+ + + + + + + +
int JsonValue::GetInt () const
+
+inline
+
+

Get the numeric value as an integer.

+ +
+
+ +

◆ GetObject()

+ +
+
+ + + + + +
+ + + + + + + +
JsonObject& JsonValue::GetObject ()
+
+inline
+
+

Get the JSON object.

+ +
+
+ +

◆ GetString()

+ +
+
+ + + + + +
+ + + + + + + +
const std::string& JsonValue::GetString () const
+
+inline
+
+

Get the string value.

+ +
+
+ +

◆ GetType()

+ +
+
+ + + + + +
+ + + + + + + +
JsonValueType JsonValue::GetType () const
+
+inline
+
+

Get the type of the JSON value.

+ +
+
+
The documentation for this class was generated from the following file: diff --git a/docs/classMaturityInterfaceBase.html b/docs/classMaturityInterfaceBase.html index dfa6620..94db030 100644 --- a/docs/classMaturityInterfaceBase.html +++ b/docs/classMaturityInterfaceBase.html @@ -126,6 +126,7 @@

Detailed Description

MaturityInterfaceBase class should be inherited to define different Rcpp interfaces for each possible maturity function.

+

maturity Rcpp interface

Member Data Documentation

◆ id

diff --git a/docs/classPopulationInterfaceBase.html b/docs/classPopulationInterfaceBase.html index 5704f07..8f3bad9 100644 --- a/docs/classPopulationInterfaceBase.html +++ b/docs/classPopulationInterfaceBase.html @@ -122,6 +122,7 @@

Detailed Description

PopulationInterfaceBase class should be inherited to define different Rcpp interfaces for each possible Population function.

+

Population Rcpp interface

Member Data Documentation

◆ id

diff --git a/docs/classRecruitmentInterfaceBase-members.html b/docs/classRecruitmentInterfaceBase-members.html index f8d90e1..cea405f 100644 --- a/docs/classRecruitmentInterfaceBase-members.html +++ b/docs/classRecruitmentInterfaceBase-members.html @@ -83,7 +83,7 @@ idRecruitmentInterfaceBase id_gRecruitmentInterfaceBasestatic live_objectsRecruitmentInterfaceBasestatic - RecruitmentInterfaceBase()RecruitmentInterfaceBaseinline + RecruitmentInterfaceBase() (defined in RecruitmentInterfaceBase)RecruitmentInterfaceBaseinline ~RecruitmentInterfaceBase() (defined in RecruitmentInterfaceBase)RecruitmentInterfaceBaseinlinevirtual diff --git a/docs/classRecruitmentInterfaceBase.html b/docs/classRecruitmentInterfaceBase.html index 48d8fc8..8bdcea8 100644 --- a/docs/classRecruitmentInterfaceBase.html +++ b/docs/classRecruitmentInterfaceBase.html @@ -95,8 +95,6 @@ - - @@ -131,34 +129,8 @@

Public Member Functions

 RecruitmentInterfaceBase ()
 
virtual uint32_t get_id ()=0
 get the ID of the interface base object

Detailed Description

RecruitmentInterfaceBase class should be inherited to define different Rcpp interfaces for each possible Recruitment function.

-

Constructor & Destructor Documentation

- -

◆ RecruitmentInterfaceBase()

- -
-
- - - - - -
- - - - - - - -
RecruitmentInterfaceBase::RecruitmentInterfaceBase ()
-
-inline
-
-

static bool constrain_deviations; /‍**< whether or not the rec devs are constrained*‍/

- -
-
-

Member Function Documentation

+

Recruitment Rcpp interface

+

Member Function Documentation

◆ evaluate_nll()

diff --git a/docs/classSelectivityInterfaceBase.html b/docs/classSelectivityInterfaceBase.html index 13c5632..88258c2 100644 --- a/docs/classSelectivityInterfaceBase.html +++ b/docs/classSelectivityInterfaceBase.html @@ -127,6 +127,7 @@

Detailed Description

SelectivityInterfaceBase class should be inherited to define different Rcpp interfaces for each possible Selectivity function.

+

Selectivity Rcpp interface

Member Data Documentation

◆ id

diff --git a/docs/fims__json_8hpp.html b/docs/fims__json_8hpp.html index b9d2eba..903f0cb 100644 --- a/docs/fims__json_8hpp.html +++ b/docs/fims__json_8hpp.html @@ -95,21 +95,15 @@

Classes

class  JsonValue - Represents a JSON value. More...
  class  JsonParser - Parses JSON strings and generates JSON values. More...
  - - + - - +

Typedefs

-using JsonObject = std::map< std::string, JsonValue >
 Alias for a JSON object, mapping strings to JSON values.
using JsonObject = std::map< std::string, JsonValue >
 
-using JsonArray = std::vector< JsonValue >
 Alias for a JSON array, containing a sequence of JSON values.
using JsonArray = std::vector< JsonValue >
 
-

@@ -124,13 +118,43 @@ , Array
}

 Represents different types of JSON values. More...
 

Detailed Description

A simple JSON parsing and generation library.

This library provides classes and functions for parsing JSON strings and generating JSON data structures.

-

Enumeration Type Documentation

+

Typedef Documentation

+ +

◆ JsonArray

+ +
+
+ + + + +
using JsonArray = std::vector<JsonValue>
+
+

Alias for a JSON array, containing a sequence of JSON values.

+ +
+
+ +

◆ JsonObject

+ +
+
+ + + + +
using JsonObject = std::map<std::string, JsonValue>
+
+

Alias for a JSON object, mapping strings to JSON values.

+ +
+
+

Enumeration Type Documentation

◆ JsonValueType

@@ -142,7 +166,6 @@

-

Represents different types of JSON values.

- - + + diff --git a/docs/population_8hpp_source.html b/docs/population_8hpp_source.html index dc5ca31..26cfdd5 100644 --- a/docs/population_8hpp_source.html +++ b/docs/population_8hpp_source.html @@ -145,6 +145,7 @@
83  std::vector<Type> expected_numbers_at_age;
85  std::vector<Type> expected_catch;
86  std::vector<Type> expected_recruitment;
+
87  // recruitment
88  int recruitment_id = -999;
89  std::shared_ptr<RecruitmentBase<Type>>
@@ -669,7 +670,7 @@
std::vector< Type > spawning_biomass
Definition: population.hpp:76
int fleet_id
Definition: population.hpp:103
ParameterVector mortality_F
Definition: population.hpp:60
-
int recruitment_id
recruitment
Definition: population.hpp:88
+
int recruitment_id
Definition: population.hpp:88
void CalculateUnfishedBiomass(size_t i_age_year, size_t year, size_t age)
Adds to existing yearly unfished biomass estimates the biomass for a specified year and age.
Definition: population.hpp:306
std::shared_ptr< RecruitmentBase< Type > > recruitment
Definition: population.hpp:90
ParameterVector log_M
Definition: population.hpp:53
diff --git a/docs/rcpp__growth_8hpp_source.html b/docs/rcpp__growth_8hpp_source.html index 16fbea6..5d0dede 100644 --- a/docs/rcpp__growth_8hpp_source.html +++ b/docs/rcpp__growth_8hpp_source.html @@ -89,10 +89,6 @@
11 #include "../../../population_dynamics/growth/growth.hpp"
12 #include "rcpp_interface_base.hpp"
13 
-
14 /****************************************************************
-
15  * Growth Rcpp interface *
-
16  ***************************************************************/
-
17 
25  public:
26  static uint32_t id_g;
diff --git a/docs/rcpp__interface_8hpp_source.html b/docs/rcpp__interface_8hpp_source.html index 026935b..636346c 100644 --- a/docs/rcpp__interface_8hpp_source.html +++ b/docs/rcpp__interface_8hpp_source.html @@ -499,14 +499,14 @@
466 #endif /* RCPP_INTERFACE_HPP */
Rcpp::NumericVector age_comp_data
Definition: rcpp_data.hpp:65
virtual uint32_t get_id()
get the ID of the interface base object
Definition: rcpp_data.hpp:82
-
virtual double evaluate_nll()
evaluate recruitment nll
Definition: rcpp_recruitment.hpp:101
-
Parameter logit_steep
Definition: rcpp_recruitment.hpp:73
-
Rcpp::NumericVector deviations
Definition: rcpp_recruitment.hpp:76
-
virtual double evaluate(double spawners, double ssbzero)
evaluate method for child recruitment interface objects to inherit
Definition: rcpp_recruitment.hpp:86
-
virtual uint32_t get_id()
get the ID of the interface base object
Definition: rcpp_recruitment.hpp:84
-
bool estimate_deviations
Definition: rcpp_recruitment.hpp:77
-
Parameter log_sigma_recruit
Definition: rcpp_recruitment.hpp:75
-
Parameter log_rzero
Definition: rcpp_recruitment.hpp:74
+
virtual double evaluate_nll()
evaluate recruitment nll
Definition: rcpp_recruitment.hpp:100
+
Parameter logit_steep
Definition: rcpp_recruitment.hpp:72
+
Rcpp::NumericVector deviations
Definition: rcpp_recruitment.hpp:75
+
virtual double evaluate(double spawners, double ssbzero)
evaluate method for child recruitment interface objects to inherit
Definition: rcpp_recruitment.hpp:85
+
virtual uint32_t get_id()
get the ID of the interface base object
Definition: rcpp_recruitment.hpp:83
+
bool estimate_deviations
Definition: rcpp_recruitment.hpp:76
+
Parameter log_sigma_recruit
Definition: rcpp_recruitment.hpp:74
+
Parameter log_rzero
Definition: rcpp_recruitment.hpp:73
static std::map< uint32_t, DataInterfaceBase * > live_objects
Definition: rcpp_data.hpp:27
static uint32_t id_g
Definition: rcpp_data.hpp:23
static std::map< uint32_t, DistributionsInterfaceBase * > live_objects
Definition: rcpp_tmb_distribution.hpp:26
diff --git a/docs/rcpp__maturity_8hpp_source.html b/docs/rcpp__maturity_8hpp_source.html index 30a5a22..20e79b6 100644 --- a/docs/rcpp__maturity_8hpp_source.html +++ b/docs/rcpp__maturity_8hpp_source.html @@ -91,10 +91,6 @@
13 #include "../../../population_dynamics/maturity/maturity.hpp"
14 #include "rcpp_interface_base.hpp"
15 
-
16 /****************************************************************
-
17  * maturity Rcpp interface *
-
18  ***************************************************************/
-
19 
25  public:
26  static uint32_t id_g;
diff --git a/docs/rcpp__population_8hpp_source.html b/docs/rcpp__population_8hpp_source.html index 4deb0df..99ca982 100644 --- a/docs/rcpp__population_8hpp_source.html +++ b/docs/rcpp__population_8hpp_source.html @@ -89,10 +89,6 @@
11 #include "../../../population_dynamics/population/population.hpp"
12 #include "rcpp_interface_base.hpp"
13 
-
14 /****************************************************************
-
15  * Population Rcpp interface *
-
16  ***************************************************************/
-
17 
23  public:
24  static uint32_t id_g;
diff --git a/docs/rcpp__recruitment_8hpp_source.html b/docs/rcpp__recruitment_8hpp_source.html index e11cb75..f9e0091 100644 --- a/docs/rcpp__recruitment_8hpp_source.html +++ b/docs/rcpp__recruitment_8hpp_source.html @@ -90,10 +90,6 @@
12 #include "../../../population_dynamics/recruitment/recruitment.hpp"
13 #include "rcpp_interface_base.hpp"
14 
-
15 /****************************************************************
-
16  * Recruitment Rcpp interface *
-
17  ***************************************************************/
-
18 
24  public:
25  static uint32_t id_g;
@@ -102,148 +98,149 @@
28  static std::map<uint32_t, RecruitmentInterfaceBase*> live_objects;
31  // static std::vector<double> recruit_deviations; /**< vector of recruitment
32  // deviations*/
-
35 
- -
37  this->id = RecruitmentInterfaceBase::id_g++;
-
38  /* Create instance of map: key is id and value is pointer to
-
39  RecruitmentInterfaceBase */
- - -
42  }
-
43 
-
44  virtual ~RecruitmentInterfaceBase() {}
-
45 
-
48  virtual uint32_t get_id() = 0;
-
49 
-
52  virtual double evaluate(double spawners, double ssbzero) = 0;
-
53 
-
59  virtual double evaluate_nll() = 0;
-
60 };
-
61 
- -
63 std::map<uint32_t, RecruitmentInterfaceBase*>
- -
65 
- -
72  public:
- - - -
76  Rcpp::NumericVector deviations;
- -
78  false;
- -
81 
- -
83 
-
84  virtual uint32_t get_id() { return this->id; }
-
85 
-
86  virtual double evaluate(double spawners, double ssbzero) {
- -
88 
-
89  BevHolt.logit_steep = this->logit_steep.value_m;
-
90  if (this->logit_steep.value_m == 1.0) {
-
91  warning(
-
92  "Steepness is subject to a logit transformation, so its value is "
-
93  "0.7848469. Fixing it at 1.0 is not currently possible.");
-
94  }
-
95 
-
96  BevHolt.log_rzero = this->log_rzero.value_m;
-
97 
-
98  return BevHolt.evaluate(spawners, ssbzero);
-
99  }
-
100 
-
101  virtual double evaluate_nll() {
- -
103 
-
104  NLL.log_sigma_recruit = this->log_sigma_recruit.value_m;
-
105  NLL.recruit_deviations.resize(deviations.size()); // Vector from TMB
-
106  for (int i = 0; i < deviations.size(); i++) {
-
107  NLL.recruit_deviations[i] = deviations[i];
-
108  }
-
109  RECRUITMENT_LOG << "Rec devs being passed to C++ are " << deviations
-
110  << std::endl;
- -
112  return NLL.evaluate_nll();
-
113  }
-
114 
-
115 #ifdef TMB_MODEL
-
116 
-
117  template <typename Type>
-
118  bool add_to_fims_tmb_internal() {
-
119  std::shared_ptr<fims_info::Information<Type> > info =
- -
121 
-
122  std::shared_ptr<fims_popdy::SRBevertonHolt<Type> > recruitment =
-
123  std::make_shared<fims_popdy::SRBevertonHolt<Type> >();
-
124 
-
125  // set relative info
-
126  recruitment->id = this->id;
-
127  recruitment->logit_steep = this->logit_steep.value_m;
-
128  if (this->logit_steep.estimated_m) {
-
129  if (this->logit_steep.is_random_effect_m) {
-
130  info->RegisterRandomEffect(recruitment->logit_steep);
-
131  } else {
-
132  info->RegisterParameter(recruitment->logit_steep);
-
133  }
-
134  }
-
135  recruitment->log_rzero = this->log_rzero.value_m;
-
136  if (this->log_rzero.estimated_m) {
-
137  if (this->log_rzero.is_random_effect_m) {
-
138  info->RegisterRandomEffect(recruitment->log_rzero);
-
139  } else {
-
140  info->RegisterParameter(recruitment->log_rzero);
-
141  }
-
142  }
-
143  recruitment->log_sigma_recruit = this->log_sigma_recruit.value_m;
-
144  if (this->log_sigma_recruit.estimated_m) {
-
145  if (this->log_sigma_recruit.is_random_effect_m) {
-
146  info->RegisterRandomEffect(recruitment->log_sigma_recruit);
-
147  } else {
-
148  info->RegisterParameter(recruitment->log_sigma_recruit);
-
149  }
-
150  }
-
151 
-
152  recruitment->recruit_deviations.resize(this->deviations.size());
-
153  if (this->estimate_deviations) {
-
154  for (size_t i = 0; i < recruitment->recruit_deviations.size(); i++) {
-
155  recruitment->recruit_deviations[i] = this->deviations[i];
-
156  info->RegisterParameter(recruitment->recruit_deviations[i]);
-
157  }
-
158  } else {
-
159  for (size_t i = 0; i < recruitment->recruit_deviations.size(); i++) {
-
160  recruitment->recruit_deviations[i] = this->deviations[i];
-
161  }
-
162  }
-
163 
-
164  // add to Information
-
165  info->recruitment_models[recruitment->id] = recruitment;
-
166 
-
167  return true;
-
168  }
-
169 
-
172  virtual bool add_to_fims_tmb() {
-
173  this->add_to_fims_tmb_internal<TMB_FIMS_REAL_TYPE>();
-
174  this->add_to_fims_tmb_internal<TMB_FIMS_FIRST_ORDER>();
-
175  this->add_to_fims_tmb_internal<TMB_FIMS_SECOND_ORDER>();
-
176  this->add_to_fims_tmb_internal<TMB_FIMS_THIRD_ORDER>();
-
177 
-
178  return true;
-
179  }
-
180 
-
181 #endif
-
182 };
-
183 
-
184 #endif
-
Rcpp interface for Beverton-Holt as an S4 object. To instantiate from R: beverton_holt <- new(fims$be...
Definition: rcpp_recruitment.hpp:71
-
virtual double evaluate_nll()
evaluate recruitment nll
Definition: rcpp_recruitment.hpp:101
-
Parameter logit_steep
Definition: rcpp_recruitment.hpp:73
-
Rcpp::NumericVector deviations
Definition: rcpp_recruitment.hpp:76
-
virtual double evaluate(double spawners, double ssbzero)
evaluate method for child recruitment interface objects to inherit
Definition: rcpp_recruitment.hpp:86
-
virtual uint32_t get_id()
get the ID of the interface base object
Definition: rcpp_recruitment.hpp:84
-
bool estimate_deviations
Definition: rcpp_recruitment.hpp:77
-
Parameter log_sigma_recruit
Definition: rcpp_recruitment.hpp:75
-
Parameter log_rzero
Definition: rcpp_recruitment.hpp:74
+
33  // static bool constrain_deviations; /**< whether or not the rec devs are constrained*/
+
34 
+ +
36  this->id = RecruitmentInterfaceBase::id_g++;
+
37  /* Create instance of map: key is id and value is pointer to
+
38  RecruitmentInterfaceBase */
+ + +
41  }
+
42 
+
43  virtual ~RecruitmentInterfaceBase() {}
+
44 
+
47  virtual uint32_t get_id() = 0;
+
48 
+
51  virtual double evaluate(double spawners, double ssbzero) = 0;
+
52 
+
58  virtual double evaluate_nll() = 0;
+
59 };
+
60 
+ +
62 std::map<uint32_t, RecruitmentInterfaceBase*>
+ +
64 
+ +
71  public:
+ + + +
75  Rcpp::NumericVector deviations;
+ +
77  false;
+ +
80 
+ +
82 
+
83  virtual uint32_t get_id() { return this->id; }
+
84 
+
85  virtual double evaluate(double spawners, double ssbzero) {
+ +
87 
+
88  BevHolt.logit_steep = this->logit_steep.value_m;
+
89  if (this->logit_steep.value_m == 1.0) {
+
90  warning(
+
91  "Steepness is subject to a logit transformation, so its value is "
+
92  "0.7848469. Fixing it at 1.0 is not currently possible.");
+
93  }
+
94 
+
95  BevHolt.log_rzero = this->log_rzero.value_m;
+
96 
+
97  return BevHolt.evaluate(spawners, ssbzero);
+
98  }
+
99 
+
100  virtual double evaluate_nll() {
+ +
102 
+
103  NLL.log_sigma_recruit = this->log_sigma_recruit.value_m;
+
104  NLL.recruit_deviations.resize(deviations.size()); // Vector from TMB
+
105  for (int i = 0; i < deviations.size(); i++) {
+
106  NLL.recruit_deviations[i] = deviations[i];
+
107  }
+
108  RECRUITMENT_LOG << "Rec devs being passed to C++ are " << deviations
+
109  << std::endl;
+ +
111  return NLL.evaluate_nll();
+
112  }
+
113 
+
114 #ifdef TMB_MODEL
+
115 
+
116  template <typename Type>
+
117  bool add_to_fims_tmb_internal() {
+
118  std::shared_ptr<fims_info::Information<Type> > info =
+ +
120 
+
121  std::shared_ptr<fims_popdy::SRBevertonHolt<Type> > recruitment =
+
122  std::make_shared<fims_popdy::SRBevertonHolt<Type> >();
+
123 
+
124  // set relative info
+
125  recruitment->id = this->id;
+
126  recruitment->logit_steep = this->logit_steep.value_m;
+
127  if (this->logit_steep.estimated_m) {
+
128  if (this->logit_steep.is_random_effect_m) {
+
129  info->RegisterRandomEffect(recruitment->logit_steep);
+
130  } else {
+
131  info->RegisterParameter(recruitment->logit_steep);
+
132  }
+
133  }
+
134  recruitment->log_rzero = this->log_rzero.value_m;
+
135  if (this->log_rzero.estimated_m) {
+
136  if (this->log_rzero.is_random_effect_m) {
+
137  info->RegisterRandomEffect(recruitment->log_rzero);
+
138  } else {
+
139  info->RegisterParameter(recruitment->log_rzero);
+
140  }
+
141  }
+
142  recruitment->log_sigma_recruit = this->log_sigma_recruit.value_m;
+
143  if (this->log_sigma_recruit.estimated_m) {
+
144  if (this->log_sigma_recruit.is_random_effect_m) {
+
145  info->RegisterRandomEffect(recruitment->log_sigma_recruit);
+
146  } else {
+
147  info->RegisterParameter(recruitment->log_sigma_recruit);
+
148  }
+
149  }
+
150 
+
151  recruitment->recruit_deviations.resize(this->deviations.size());
+
152  if (this->estimate_deviations) {
+
153  for (size_t i = 0; i < recruitment->recruit_deviations.size(); i++) {
+
154  recruitment->recruit_deviations[i] = this->deviations[i];
+
155  info->RegisterParameter(recruitment->recruit_deviations[i]);
+
156  }
+
157  } else {
+
158  for (size_t i = 0; i < recruitment->recruit_deviations.size(); i++) {
+
159  recruitment->recruit_deviations[i] = this->deviations[i];
+
160  }
+
161  }
+
162 
+
163  // add to Information
+
164  info->recruitment_models[recruitment->id] = recruitment;
+
165 
+
166  return true;
+
167  }
+
168 
+
171  virtual bool add_to_fims_tmb() {
+
172  this->add_to_fims_tmb_internal<TMB_FIMS_REAL_TYPE>();
+
173  this->add_to_fims_tmb_internal<TMB_FIMS_FIRST_ORDER>();
+
174  this->add_to_fims_tmb_internal<TMB_FIMS_SECOND_ORDER>();
+
175  this->add_to_fims_tmb_internal<TMB_FIMS_THIRD_ORDER>();
+
176 
+
177  return true;
+
178  }
+
179 
+
180 #endif
+
181 };
+
182 
+
183 #endif
+
Rcpp interface for Beverton-Holt as an S4 object. To instantiate from R: beverton_holt <- new(fims$be...
Definition: rcpp_recruitment.hpp:70
+
virtual double evaluate_nll()
evaluate recruitment nll
Definition: rcpp_recruitment.hpp:100
+
Parameter logit_steep
Definition: rcpp_recruitment.hpp:72
+
Rcpp::NumericVector deviations
Definition: rcpp_recruitment.hpp:75
+
virtual double evaluate(double spawners, double ssbzero)
evaluate method for child recruitment interface objects to inherit
Definition: rcpp_recruitment.hpp:85
+
virtual uint32_t get_id()
get the ID of the interface base object
Definition: rcpp_recruitment.hpp:83
+
bool estimate_deviations
Definition: rcpp_recruitment.hpp:76
+
Parameter log_sigma_recruit
Definition: rcpp_recruitment.hpp:74
+
Parameter log_rzero
Definition: rcpp_recruitment.hpp:73
Base class for all interface objects.
Definition: rcpp_interface_base.hpp:61
static std::vector< FIMSRcppInterfaceBase * > fims_interface_objects
Definition: rcpp_interface_base.hpp:64
virtual bool add_to_fims_tmb()
virtual method to inherit to add objects to the TMB model
Definition: rcpp_interface_base.hpp:67
@@ -256,7 +253,6 @@
uint32_t id
Definition: rcpp_recruitment.hpp:26
virtual uint32_t get_id()=0
get the ID of the interface base object
virtual double evaluate(double spawners, double ssbzero)=0
evaluate method for child recruitment interface objects to inherit
-
RecruitmentInterfaceBase()
Definition: rcpp_recruitment.hpp:36
static uint32_t id_g
Definition: rcpp_recruitment.hpp:25
virtual double evaluate_nll()=0
evaluate recruitment nll
static std::shared_ptr< Information< Type > > GetInstance()
Definition: information.hpp:125
diff --git a/docs/rcpp__selectivity_8hpp_source.html b/docs/rcpp__selectivity_8hpp_source.html index b606dbe..7035c5e 100644 --- a/docs/rcpp__selectivity_8hpp_source.html +++ b/docs/rcpp__selectivity_8hpp_source.html @@ -90,10 +90,6 @@
12 #include "../../../population_dynamics/selectivity/selectivity.hpp"
13 #include "rcpp_interface_base.hpp"
14 
-
15 /****************************************************************
-
16  * Selectivity Rcpp interface *
-
17  ***************************************************************/
-
18 
24  public:
25  static uint32_t id_g;
diff --git a/docs/search/all_10.js b/docs/search/all_10.js index 40795b7..7816f3b 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -11,7 +11,7 @@ var searchData= ['recruitment_5fmodels_226',['recruitment_models',['../classfims__info_1_1Information.html#af84f12390187dbdf6864fdf5d052b499',1,'fims_info::Information']]], ['recruitment_5fmodels_5fiterator_227',['recruitment_models_iterator',['../classfims__info_1_1Information.html#a300ab12f1ce828f0a686fe5db38693d7',1,'fims_info::Information']]], ['recruitmentbase_228',['RecruitmentBase',['../structfims__popdy_1_1RecruitmentBase.html',1,'fims_popdy::RecruitmentBase< Type >'],['../structfims__popdy_1_1RecruitmentBase.html#ae0fef4d2bbcdfd8b80936bdf5d0dbe81',1,'fims_popdy::RecruitmentBase::RecruitmentBase()']]], - ['recruitmentinterfacebase_229',['RecruitmentInterfaceBase',['../classRecruitmentInterfaceBase.html',1,'RecruitmentInterfaceBase'],['../classRecruitmentInterfaceBase.html#ad2cdb57b7cb0fa9bab4a3f036821872e',1,'RecruitmentInterfaceBase::RecruitmentInterfaceBase()']]], + ['recruitmentinterfacebase_229',['RecruitmentInterfaceBase',['../classRecruitmentInterfaceBase.html',1,'']]], ['registerparameter_230',['RegisterParameter',['../classfims__info_1_1Information.html#a59f18d95d8425246661e3513cecdc0a2',1,'fims_info::Information']]], ['registerrandomeffect_231',['RegisterRandomEffect',['../classfims__info_1_1Information.html#a638e4deb58e190b72db9fb6225325b79',1,'fims_info::Information']]] ]; diff --git a/docs/search/enums_0.js b/docs/search/enums_0.js index 003753c..494b0f1 100644 --- a/docs/search/enums_0.js +++ b/docs/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['jsonvaluetype_557',['JsonValueType',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cb',1,'fims_json.hpp']]] + ['jsonvaluetype_556',['JsonValueType',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cb',1,'fims_json.hpp']]] ]; diff --git a/docs/search/enumvalues_0.js b/docs/search/enumvalues_0.js index 5e0a720..ff7a1fa 100644 --- a/docs/search/enumvalues_0.js +++ b/docs/search/enumvalues_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['array_558',['Array',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cbaf8303e03242532eebd970f40ee509689',1,'fims_json.hpp']]] + ['array_557',['Array',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cbaf8303e03242532eebd970f40ee509689',1,'fims_json.hpp']]] ]; diff --git a/docs/search/enumvalues_1.js b/docs/search/enumvalues_1.js index 5b0aef1..0e9dcf1 100644 --- a/docs/search/enumvalues_1.js +++ b/docs/search/enumvalues_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['bool_559',['Bool',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cba29dcc89db32a1eead61fe67cff38c060',1,'fims_json.hpp']]] + ['bool_558',['Bool',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cba29dcc89db32a1eead61fe67cff38c060',1,'fims_json.hpp']]] ]; diff --git a/docs/search/enumvalues_2.js b/docs/search/enumvalues_2.js index a2dafd5..c148d8a 100644 --- a/docs/search/enumvalues_2.js +++ b/docs/search/enumvalues_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['null_560',['Null',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cba727b8a8d744d88f4d9596d91abfdf277',1,'fims_json.hpp']]], - ['number_561',['Number',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cbafa620f80ceb585b771a878cc135c4035',1,'fims_json.hpp']]] + ['null_559',['Null',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cba727b8a8d744d88f4d9596d91abfdf277',1,'fims_json.hpp']]], + ['number_560',['Number',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cbafa620f80ceb585b771a878cc135c4035',1,'fims_json.hpp']]] ]; diff --git a/docs/search/enumvalues_3.js b/docs/search/enumvalues_3.js index 51901ea..6a30338 100644 --- a/docs/search/enumvalues_3.js +++ b/docs/search/enumvalues_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['object_562',['Object',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cba5df911aaca43421a25e32c3002befbc4',1,'fims_json.hpp']]] + ['object_561',['Object',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cba5df911aaca43421a25e32c3002befbc4',1,'fims_json.hpp']]] ]; diff --git a/docs/search/enumvalues_4.js b/docs/search/enumvalues_4.js index 311932e..fa2a1c6 100644 --- a/docs/search/enumvalues_4.js +++ b/docs/search/enumvalues_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['string_563',['String',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cbade17ec82ff106e0c2b4417f5ca231eae',1,'fims_json.hpp']]] + ['string_562',['String',['../fims__json_8hpp.html#ab1d0a5abd7705ac9e0a1ae51ec6671cbade17ec82ff106e0c2b4417f5ca231eae',1,'fims_json.hpp']]] ]; diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index 69b791c..408c46b 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -2,7 +2,6 @@ var searchData= [ ['recruitment_5flog_406',['RECRUITMENT_LOG',['../def_8hpp.html#ab79e53c483ecf6594343d0b2d5108447',1,'def.hpp']]], ['recruitmentbase_407',['RecruitmentBase',['../structfims__popdy_1_1RecruitmentBase.html#ae0fef4d2bbcdfd8b80936bdf5d0dbe81',1,'fims_popdy::RecruitmentBase']]], - ['recruitmentinterfacebase_408',['RecruitmentInterfaceBase',['../classRecruitmentInterfaceBase.html#ad2cdb57b7cb0fa9bab4a3f036821872e',1,'RecruitmentInterfaceBase']]], - ['registerparameter_409',['RegisterParameter',['../classfims__info_1_1Information.html#a59f18d95d8425246661e3513cecdc0a2',1,'fims_info::Information']]], - ['registerrandomeffect_410',['RegisterRandomEffect',['../classfims__info_1_1Information.html#a638e4deb58e190b72db9fb6225325b79',1,'fims_info::Information']]] + ['registerparameter_408',['RegisterParameter',['../classfims__info_1_1Information.html#a59f18d95d8425246661e3513cecdc0a2',1,'fims_info::Information']]], + ['registerrandomeffect_409',['RegisterRandomEffect',['../classfims__info_1_1Information.html#a638e4deb58e190b72db9fb6225325b79',1,'fims_info::Information']]] ]; diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index 04e5560..455213f 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -1,17 +1,17 @@ var searchData= [ - ['selectivity_5flog_411',['SELECTIVITY_LOG',['../def_8hpp.html#a34afbc4af6ad36508ad3d2847da6b75c',1,'def.hpp']]], - ['selectivitybase_412',['SelectivityBase',['../structfims__popdy_1_1SelectivityBase.html#a811f8a606e34435ac6799136b2d5c1fa',1,'fims_popdy::SelectivityBase']]], - ['setagecomplikelihood_413',['SetAgeCompLikelihood',['../classFleetInterface.html#a3560bbe035fb5bf35947cab27f4412f1',1,'FleetInterface']]], - ['setgrowth_414',['SetGrowth',['../classPopulationInterface.html#ae891516564b4ab4f1a073676b756fe35',1,'PopulationInterface']]], - ['setindexlikelihood_415',['SetIndexLikelihood',['../classFleetInterface.html#a9f347c1dcdc320ccf3a717e3cf8e094b',1,'FleetInterface']]], - ['setmaturity_416',['SetMaturity',['../classPopulationInterface.html#a0055f2a94b3b8675ffdbaaaa6c8714ff',1,'PopulationInterface']]], - ['setnages_417',['SetNages',['../classfims__info_1_1Information.html#afd372194e06dbf16b1012bf2a98db415',1,'fims_info::Information']]], - ['setnseasons_418',['SetNseasons',['../classfims__info_1_1Information.html#afbab305ff662fbf552b7807f90c2de8c',1,'fims_info::Information']]], - ['setnyears_419',['SetNyears',['../classfims__info_1_1Information.html#a6a86e812817c5f38611fb57958dad5a5',1,'fims_info::Information']]], - ['setobservedagecompdata_420',['SetObservedAgeCompData',['../classFleetInterface.html#aea37db0978bb0c29503cc37764348b53',1,'FleetInterface']]], - ['setobservedindexdata_421',['SetObservedIndexData',['../classFleetInterface.html#a8f811e1f99b4a21d31827c8d0497aad2',1,'FleetInterface']]], - ['setrecruitment_422',['SetRecruitment',['../classPopulationInterface.html#a70bc972f2ee8aeae73ad85cd0da2c194',1,'PopulationInterface']]], - ['setselectivity_423',['SetSelectivity',['../classFleetInterface.html#a0b0ffd5f734cdab9286a4551b4e5e7ae',1,'FleetInterface']]], - ['show_424',['Show',['../classJsonParser.html#acccfd891551f614d40d7320dd6ae943e',1,'JsonParser']]] + ['selectivity_5flog_410',['SELECTIVITY_LOG',['../def_8hpp.html#a34afbc4af6ad36508ad3d2847da6b75c',1,'def.hpp']]], + ['selectivitybase_411',['SelectivityBase',['../structfims__popdy_1_1SelectivityBase.html#a811f8a606e34435ac6799136b2d5c1fa',1,'fims_popdy::SelectivityBase']]], + ['setagecomplikelihood_412',['SetAgeCompLikelihood',['../classFleetInterface.html#a3560bbe035fb5bf35947cab27f4412f1',1,'FleetInterface']]], + ['setgrowth_413',['SetGrowth',['../classPopulationInterface.html#ae891516564b4ab4f1a073676b756fe35',1,'PopulationInterface']]], + ['setindexlikelihood_414',['SetIndexLikelihood',['../classFleetInterface.html#a9f347c1dcdc320ccf3a717e3cf8e094b',1,'FleetInterface']]], + ['setmaturity_415',['SetMaturity',['../classPopulationInterface.html#a0055f2a94b3b8675ffdbaaaa6c8714ff',1,'PopulationInterface']]], + ['setnages_416',['SetNages',['../classfims__info_1_1Information.html#afd372194e06dbf16b1012bf2a98db415',1,'fims_info::Information']]], + ['setnseasons_417',['SetNseasons',['../classfims__info_1_1Information.html#afbab305ff662fbf552b7807f90c2de8c',1,'fims_info::Information']]], + ['setnyears_418',['SetNyears',['../classfims__info_1_1Information.html#a6a86e812817c5f38611fb57958dad5a5',1,'fims_info::Information']]], + ['setobservedagecompdata_419',['SetObservedAgeCompData',['../classFleetInterface.html#aea37db0978bb0c29503cc37764348b53',1,'FleetInterface']]], + ['setobservedindexdata_420',['SetObservedIndexData',['../classFleetInterface.html#a8f811e1f99b4a21d31827c8d0497aad2',1,'FleetInterface']]], + ['setrecruitment_421',['SetRecruitment',['../classPopulationInterface.html#a70bc972f2ee8aeae73ad85cd0da2c194',1,'PopulationInterface']]], + ['setselectivity_422',['SetSelectivity',['../classFleetInterface.html#a0b0ffd5f734cdab9286a4551b4e5e7ae',1,'FleetInterface']]], + ['show_423',['Show',['../classJsonParser.html#acccfd891551f614d40d7320dd6ae943e',1,'JsonParser']]] ]; diff --git a/docs/search/functions_e.js b/docs/search/functions_e.js index b13edc6..7d5883f 100644 --- a/docs/search/functions_e.js +++ b/docs/search/functions_e.js @@ -1,4 +1,4 @@ var searchData= [ - ['writetofile_425',['WriteToFile',['../classJsonParser.html#ad8ffc15c33b35e9efea97829fadbb5cb',1,'JsonParser']]] + ['writetofile_424',['WriteToFile',['../classJsonParser.html#ad8ffc15c33b35e9efea97829fadbb5cb',1,'JsonParser']]] ]; diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index 55df533..7391314 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -1,7 +1,7 @@ var searchData= [ - ['_7eagecompdatainterface_426',['~AgeCompDataInterface',['../classAgeCompDataInterface.html#a166f71a43a8c71e567bf8acb1d426d13',1,'AgeCompDataInterface']]], - ['_7edatainterfacebase_427',['~DataInterfaceBase',['../classDataInterfaceBase.html#a3bf54a43965ae51e7a881f359fa0019b',1,'DataInterfaceBase']]], - ['_7efleet_428',['~Fleet',['../structfims__popdy_1_1Fleet.html#a8daf372e70483efaeba014d5ebf7500b',1,'fims_popdy::Fleet']]], - ['_7eindexdatainterface_429',['~IndexDataInterface',['../classIndexDataInterface.html#a90e264b9bf1d857264196ec85477a786',1,'IndexDataInterface']]] + ['_7eagecompdatainterface_425',['~AgeCompDataInterface',['../classAgeCompDataInterface.html#a166f71a43a8c71e567bf8acb1d426d13',1,'AgeCompDataInterface']]], + ['_7edatainterfacebase_426',['~DataInterfaceBase',['../classDataInterfaceBase.html#a3bf54a43965ae51e7a881f359fa0019b',1,'DataInterfaceBase']]], + ['_7efleet_427',['~Fleet',['../structfims__popdy_1_1Fleet.html#a8daf372e70483efaeba014d5ebf7500b',1,'fims_popdy::Fleet']]], + ['_7eindexdatainterface_428',['~IndexDataInterface',['../classIndexDataInterface.html#a90e264b9bf1d857264196ec85477a786',1,'IndexDataInterface']]] ]; diff --git a/docs/search/typedefs_0.js b/docs/search/typedefs_0.js index c9f2a18..4c3e207 100644 --- a/docs/search/typedefs_0.js +++ b/docs/search/typedefs_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['data_5fiterator_546',['data_iterator',['../classfims__info_1_1Information.html#a8539962fff66e22c811550cbe515eaa4',1,'fims_info::Information']]], - ['distribution_5fmodels_5fiterator_547',['distribution_models_iterator',['../classfims__info_1_1Information.html#a9fd95e4bbb32ebf2b7d65ef441522726',1,'fims_info::Information']]] + ['data_5fiterator_545',['data_iterator',['../classfims__info_1_1Information.html#a8539962fff66e22c811550cbe515eaa4',1,'fims_info::Information']]], + ['distribution_5fmodels_5fiterator_546',['distribution_models_iterator',['../classfims__info_1_1Information.html#a9fd95e4bbb32ebf2b7d65ef441522726',1,'fims_info::Information']]] ]; diff --git a/docs/search/typedefs_1.js b/docs/search/typedefs_1.js index a8ce3d0..f84c760 100644 --- a/docs/search/typedefs_1.js +++ b/docs/search/typedefs_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['fleet_5fiterator_548',['fleet_iterator',['../classfims__info_1_1Information.html#a6f5178e8fb0a1b696d221bdc6378efa5',1,'fims_info::Information']]] + ['fleet_5fiterator_547',['fleet_iterator',['../classfims__info_1_1Information.html#a6f5178e8fb0a1b696d221bdc6378efa5',1,'fims_info::Information']]] ]; diff --git a/docs/search/typedefs_2.js b/docs/search/typedefs_2.js index 8154b8e..34494f7 100644 --- a/docs/search/typedefs_2.js +++ b/docs/search/typedefs_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['growth_5fmodels_5fiterator_549',['growth_models_iterator',['../classfims__info_1_1Information.html#adfa7a2607d23ed5cbb1d269f02a5aa41',1,'fims_info::Information']]] + ['growth_5fmodels_5fiterator_548',['growth_models_iterator',['../classfims__info_1_1Information.html#adfa7a2607d23ed5cbb1d269f02a5aa41',1,'fims_info::Information']]] ]; diff --git a/docs/search/typedefs_3.js b/docs/search/typedefs_3.js index 2ea23ec..857069f 100644 --- a/docs/search/typedefs_3.js +++ b/docs/search/typedefs_3.js @@ -1,5 +1,5 @@ var searchData= [ - ['jsonarray_550',['JsonArray',['../fims__json_8hpp.html#a3a8c60ac21b2f8e8618d134d8570616a',1,'fims_json.hpp']]], - ['jsonobject_551',['JsonObject',['../fims__json_8hpp.html#aa23153da961543d4c9ed092cf12eb4fc',1,'fims_json.hpp']]] + ['jsonarray_549',['JsonArray',['../fims__json_8hpp.html#a3a8c60ac21b2f8e8618d134d8570616a',1,'fims_json.hpp']]], + ['jsonobject_550',['JsonObject',['../fims__json_8hpp.html#aa23153da961543d4c9ed092cf12eb4fc',1,'fims_json.hpp']]] ]; diff --git a/docs/search/typedefs_4.js b/docs/search/typedefs_4.js index 6ba67cf..2b29e38 100644 --- a/docs/search/typedefs_4.js +++ b/docs/search/typedefs_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['maturity_5fmodels_5fiterator_552',['maturity_models_iterator',['../classfims__info_1_1Information.html#aac992e2f443af87e29ab27c6b58e7a5c',1,'fims_info::Information']]] + ['maturity_5fmodels_5fiterator_551',['maturity_models_iterator',['../classfims__info_1_1Information.html#aac992e2f443af87e29ab27c6b58e7a5c',1,'fims_info::Information']]] ]; diff --git a/docs/search/typedefs_5.js b/docs/search/typedefs_5.js index 3fddab6..8c6cdbb 100644 --- a/docs/search/typedefs_5.js +++ b/docs/search/typedefs_5.js @@ -1,5 +1,5 @@ var searchData= [ - ['parametervector_553',['ParameterVector',['../structfims__popdy_1_1Fleet.html#aaf3c6327ea74464d702e301a9d56287e',1,'fims_popdy::Fleet::ParameterVector()'],['../structfims__popdy_1_1Population.html#a3e67ce2da63d0b44e7f0e396d5abbe03',1,'fims_popdy::Population::ParameterVector()']]], - ['population_5fiterator_554',['population_iterator',['../classfims__info_1_1Information.html#a759706b890cca0bb7b43ff5d7fbb9f47',1,'fims_info::Information']]] + ['parametervector_552',['ParameterVector',['../structfims__popdy_1_1Fleet.html#aaf3c6327ea74464d702e301a9d56287e',1,'fims_popdy::Fleet::ParameterVector()'],['../structfims__popdy_1_1Population.html#a3e67ce2da63d0b44e7f0e396d5abbe03',1,'fims_popdy::Population::ParameterVector()']]], + ['population_5fiterator_553',['population_iterator',['../classfims__info_1_1Information.html#a759706b890cca0bb7b43ff5d7fbb9f47',1,'fims_info::Information']]] ]; diff --git a/docs/search/typedefs_6.js b/docs/search/typedefs_6.js index c8ca961..04160d2 100644 --- a/docs/search/typedefs_6.js +++ b/docs/search/typedefs_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['recruitment_5fmodels_5fiterator_555',['recruitment_models_iterator',['../classfims__info_1_1Information.html#a300ab12f1ce828f0a686fe5db38693d7',1,'fims_info::Information']]] + ['recruitment_5fmodels_5fiterator_554',['recruitment_models_iterator',['../classfims__info_1_1Information.html#a300ab12f1ce828f0a686fe5db38693d7',1,'fims_info::Information']]] ]; diff --git a/docs/search/typedefs_7.js b/docs/search/typedefs_7.js index 647b8b4..429899f 100644 --- a/docs/search/typedefs_7.js +++ b/docs/search/typedefs_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['selectivity_5fmodels_5fiterator_556',['selectivity_models_iterator',['../classfims__info_1_1Information.html#a53ead35ffe13ace09db2ae7eab93dffd',1,'fims_info::Information']]] + ['selectivity_5fmodels_5fiterator_555',['selectivity_models_iterator',['../classfims__info_1_1Information.html#a53ead35ffe13ace09db2ae7eab93dffd',1,'fims_info::Information']]] ]; diff --git a/docs/search/variables_0.js b/docs/search/variables_0.js index 7134674..a9e356b 100644 --- a/docs/search/variables_0.js +++ b/docs/search/variables_0.js @@ -1,8 +1,8 @@ var searchData= [ - ['age_5fcomp_5fdata_430',['age_comp_data',['../classAgeCompDataInterface.html#a0a4628a7c7af03102f354f62723d7070',1,'AgeCompDataInterface']]], - ['age_5fcomposition_431',['age_composition',['../structfims__popdy_1_1Fleet.html#aa7e68d8988fba28772dc049e451e6983',1,'fims_popdy::Fleet']]], - ['agecomp_5flikelihood_432',['agecomp_likelihood',['../structfims__popdy_1_1Fleet.html#a9d985663318288eee487b80909a1b6ab',1,'fims_popdy::Fleet']]], - ['ages_433',['ages',['../classEWAAGrowthInterface.html#aed99ee7c0a5c4e72fcb746ff7683d510',1,'EWAAGrowthInterface::ages()'],['../classPopulationInterface.html#abc30d815840cacf4357e6c8022085eb4',1,'PopulationInterface::ages()'],['../structfims__popdy_1_1Population.html#a471d0440f694b66f9e8b4d35d3474b9c',1,'fims_popdy::Population::ages()']]], - ['amax_434',['amax',['../classAgeCompDataInterface.html#ab4bea155960215f368f55fc226d11020',1,'AgeCompDataInterface']]] + ['age_5fcomp_5fdata_429',['age_comp_data',['../classAgeCompDataInterface.html#a0a4628a7c7af03102f354f62723d7070',1,'AgeCompDataInterface']]], + ['age_5fcomposition_430',['age_composition',['../structfims__popdy_1_1Fleet.html#aa7e68d8988fba28772dc049e451e6983',1,'fims_popdy::Fleet']]], + ['agecomp_5flikelihood_431',['agecomp_likelihood',['../structfims__popdy_1_1Fleet.html#a9d985663318288eee487b80909a1b6ab',1,'fims_popdy::Fleet']]], + ['ages_432',['ages',['../classEWAAGrowthInterface.html#aed99ee7c0a5c4e72fcb746ff7683d510',1,'EWAAGrowthInterface::ages()'],['../classPopulationInterface.html#abc30d815840cacf4357e6c8022085eb4',1,'PopulationInterface::ages()'],['../structfims__popdy_1_1Population.html#a471d0440f694b66f9e8b4d35d3474b9c',1,'fims_popdy::Population::ages()']]], + ['amax_433',['amax',['../classAgeCompDataInterface.html#ab4bea155960215f368f55fc226d11020',1,'AgeCompDataInterface']]] ]; diff --git a/docs/search/variables_1.js b/docs/search/variables_1.js index c4a41d7..2a62a47 100644 --- a/docs/search/variables_1.js +++ b/docs/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['biomass_435',['biomass',['../structfims__popdy_1_1Population.html#a609c760348eb40c074a3a91ac4aa2859',1,'fims_popdy::Population']]] + ['biomass_434',['biomass',['../structfims__popdy_1_1Population.html#a609c760348eb40c074a3a91ac4aa2859',1,'fims_popdy::Population']]] ]; diff --git a/docs/search/variables_10.js b/docs/search/variables_10.js index 1eab279..396d205 100644 --- a/docs/search/variables_10.js +++ b/docs/search/variables_10.js @@ -1,10 +1,10 @@ var searchData= [ - ['random_5feffects_5fparameters_522',['random_effects_parameters',['../classfims__info_1_1Information.html#a1a1aab0813d3722c93487db9ca0ef168',1,'fims_info::Information::random_effects_parameters()'],['../structfims__model__object_1_1FIMSObject.html#a9d8ddb11af5bb51a811f7d4c855f49b3',1,'fims_model_object::FIMSObject::random_effects_parameters()']]], - ['random_5ff_523',['random_F',['../classFleetInterface.html#a03cf31c542e0c400933aa0a911c3d2ae',1,'FleetInterface']]], - ['random_5fq_524',['random_q',['../classFleetInterface.html#a26773d862ef5f583529bb3fc4002f584',1,'FleetInterface']]], - ['recruit_5fdeviations_525',['recruit_deviations',['../structfims__popdy_1_1RecruitmentBase.html#a650d41f46bb09169edbac65cf4f37348',1,'fims_popdy::RecruitmentBase']]], - ['recruitment_526',['recruitment',['../structfims__popdy_1_1Population.html#a9ab45f77587f39185b6119541a2a5288',1,'fims_popdy::Population']]], - ['recruitment_5fid_527',['recruitment_id',['../classPopulationInterface.html#a172829a46fcd6ec5b033b5c7cfd25174',1,'PopulationInterface::recruitment_id()'],['../structfims__popdy_1_1Population.html#a935b36af9b2596470bd0ab1f15f9973a',1,'fims_popdy::Population::recruitment_id()']]], - ['recruitment_5fmodels_528',['recruitment_models',['../classfims__info_1_1Information.html#af84f12390187dbdf6864fdf5d052b499',1,'fims_info::Information']]] + ['random_5feffects_5fparameters_521',['random_effects_parameters',['../classfims__info_1_1Information.html#a1a1aab0813d3722c93487db9ca0ef168',1,'fims_info::Information::random_effects_parameters()'],['../structfims__model__object_1_1FIMSObject.html#a9d8ddb11af5bb51a811f7d4c855f49b3',1,'fims_model_object::FIMSObject::random_effects_parameters()']]], + ['random_5ff_522',['random_F',['../classFleetInterface.html#a03cf31c542e0c400933aa0a911c3d2ae',1,'FleetInterface']]], + ['random_5fq_523',['random_q',['../classFleetInterface.html#a26773d862ef5f583529bb3fc4002f584',1,'FleetInterface']]], + ['recruit_5fdeviations_524',['recruit_deviations',['../structfims__popdy_1_1RecruitmentBase.html#a650d41f46bb09169edbac65cf4f37348',1,'fims_popdy::RecruitmentBase']]], + ['recruitment_525',['recruitment',['../structfims__popdy_1_1Population.html#a9ab45f77587f39185b6119541a2a5288',1,'fims_popdy::Population']]], + ['recruitment_5fid_526',['recruitment_id',['../classPopulationInterface.html#a172829a46fcd6ec5b033b5c7cfd25174',1,'PopulationInterface::recruitment_id()'],['../structfims__popdy_1_1Population.html#a935b36af9b2596470bd0ab1f15f9973a',1,'fims_popdy::Population::recruitment_id()']]], + ['recruitment_5fmodels_527',['recruitment_models',['../classfims__info_1_1Information.html#af84f12390187dbdf6864fdf5d052b499',1,'fims_info::Information']]] ]; diff --git a/docs/search/variables_11.js b/docs/search/variables_11.js index c7bfd48..ac8e500 100644 --- a/docs/search/variables_11.js +++ b/docs/search/variables_11.js @@ -1,11 +1,11 @@ var searchData= [ - ['sd_529',['sd',['../classDnormDistributionsInterface.html#a9bc34cb22cadc75c65bc0bb38978a57d',1,'DnormDistributionsInterface']]], - ['sdlog_530',['sdlog',['../classDlnormDistributionsInterface.html#a41b4b7197ec9d9994555550dd09abc26',1,'DlnormDistributionsInterface']]], - ['selectivity_531',['selectivity',['../structfims__popdy_1_1Fleet.html#a260427acb5128fa3303459de353c048c',1,'fims_popdy::Fleet']]], - ['selectivity_5fmodels_532',['selectivity_models',['../classfims__info_1_1Information.html#a85b08dfc5ad664cb9a655fab6285952c',1,'fims_info::Information']]], - ['slope_533',['slope',['../classLogisticMaturityInterface.html#a476265cd39238894ade16aad72ba1ccd',1,'LogisticMaturityInterface::slope()'],['../classLogisticSelectivityInterface.html#a4399ae6784259be83b86f101b0933f3c',1,'LogisticSelectivityInterface::slope()'],['../structfims__popdy_1_1LogisticMaturity.html#a252e4d371397f0621101b80fa869aa9e',1,'fims_popdy::LogisticMaturity::slope()'],['../structfims__popdy_1_1LogisticSelectivity.html#a4a35c5b3cf3b4bd8e8b3febc965fc75a',1,'fims_popdy::LogisticSelectivity::slope()']]], - ['slope_5fasc_534',['slope_asc',['../classDoubleLogisticSelectivityInterface.html#a721b50d40b85992bcce1a9c7e87e422c',1,'DoubleLogisticSelectivityInterface::slope_asc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#a77cfd79f03c72b3a50d32f78a38be732',1,'fims_popdy::DoubleLogisticSelectivity::slope_asc()']]], - ['slope_5fdesc_535',['slope_desc',['../classDoubleLogisticSelectivityInterface.html#aafdd9c6474eb158b52d6086326fb6706',1,'DoubleLogisticSelectivityInterface::slope_desc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#aa329450525891317d94b1105851b5d83',1,'fims_popdy::DoubleLogisticSelectivity::slope_desc()']]], - ['spawning_5fbiomass_536',['spawning_biomass',['../structfims__popdy_1_1Population.html#a869aaa9927c3c9a4ab8616d806ed4305',1,'fims_popdy::Population']]] + ['sd_528',['sd',['../classDnormDistributionsInterface.html#a9bc34cb22cadc75c65bc0bb38978a57d',1,'DnormDistributionsInterface']]], + ['sdlog_529',['sdlog',['../classDlnormDistributionsInterface.html#a41b4b7197ec9d9994555550dd09abc26',1,'DlnormDistributionsInterface']]], + ['selectivity_530',['selectivity',['../structfims__popdy_1_1Fleet.html#a260427acb5128fa3303459de353c048c',1,'fims_popdy::Fleet']]], + ['selectivity_5fmodels_531',['selectivity_models',['../classfims__info_1_1Information.html#a85b08dfc5ad664cb9a655fab6285952c',1,'fims_info::Information']]], + ['slope_532',['slope',['../classLogisticMaturityInterface.html#a476265cd39238894ade16aad72ba1ccd',1,'LogisticMaturityInterface::slope()'],['../classLogisticSelectivityInterface.html#a4399ae6784259be83b86f101b0933f3c',1,'LogisticSelectivityInterface::slope()'],['../structfims__popdy_1_1LogisticMaturity.html#a252e4d371397f0621101b80fa869aa9e',1,'fims_popdy::LogisticMaturity::slope()'],['../structfims__popdy_1_1LogisticSelectivity.html#a4a35c5b3cf3b4bd8e8b3febc965fc75a',1,'fims_popdy::LogisticSelectivity::slope()']]], + ['slope_5fasc_533',['slope_asc',['../classDoubleLogisticSelectivityInterface.html#a721b50d40b85992bcce1a9c7e87e422c',1,'DoubleLogisticSelectivityInterface::slope_asc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#a77cfd79f03c72b3a50d32f78a38be732',1,'fims_popdy::DoubleLogisticSelectivity::slope_asc()']]], + ['slope_5fdesc_534',['slope_desc',['../classDoubleLogisticSelectivityInterface.html#aafdd9c6474eb158b52d6086326fb6706',1,'DoubleLogisticSelectivityInterface::slope_desc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#aa329450525891317d94b1105851b5d83',1,'fims_popdy::DoubleLogisticSelectivity::slope_desc()']]], + ['spawning_5fbiomass_535',['spawning_biomass',['../structfims__popdy_1_1Population.html#a869aaa9927c3c9a4ab8616d806ed4305',1,'fims_popdy::Population']]] ]; diff --git a/docs/search/variables_12.js b/docs/search/variables_12.js index 87b2487..ac8eed5 100644 --- a/docs/search/variables_12.js +++ b/docs/search/variables_12.js @@ -1,6 +1,6 @@ var searchData= [ - ['unfished_5fbiomass_537',['unfished_biomass',['../structfims__popdy_1_1Population.html#ac02c1843de81b0310c3c0b9122a5779a',1,'fims_popdy::Population']]], - ['unfished_5fnumbers_5fat_5fage_538',['unfished_numbers_at_age',['../structfims__popdy_1_1Population.html#a01d407373d32daa7a83e7d1cb328c8cc',1,'fims_popdy::Population']]], - ['unfished_5fspawning_5fbiomass_539',['unfished_spawning_biomass',['../structfims__popdy_1_1Population.html#a4de6ca0e3ae53d533706d43cda326a06',1,'fims_popdy::Population']]] + ['unfished_5fbiomass_536',['unfished_biomass',['../structfims__popdy_1_1Population.html#ac02c1843de81b0310c3c0b9122a5779a',1,'fims_popdy::Population']]], + ['unfished_5fnumbers_5fat_5fage_537',['unfished_numbers_at_age',['../structfims__popdy_1_1Population.html#a01d407373d32daa7a83e7d1cb328c8cc',1,'fims_popdy::Population']]], + ['unfished_5fspawning_5fbiomass_538',['unfished_spawning_biomass',['../structfims__popdy_1_1Population.html#a4de6ca0e3ae53d533706d43cda326a06',1,'fims_popdy::Population']]] ]; diff --git a/docs/search/variables_13.js b/docs/search/variables_13.js index cefd868..103d396 100644 --- a/docs/search/variables_13.js +++ b/docs/search/variables_13.js @@ -1,4 +1,4 @@ var searchData= [ - ['value_5fm_540',['value_m',['../classParameter.html#a90a6f51aff9ea524cc34b83965392c41',1,'Parameter']]] + ['value_5fm_539',['value_m',['../classParameter.html#a90a6f51aff9ea524cc34b83965392c41',1,'Parameter']]] ]; diff --git a/docs/search/variables_14.js b/docs/search/variables_14.js index 55929a8..eddd9ac 100644 --- a/docs/search/variables_14.js +++ b/docs/search/variables_14.js @@ -1,5 +1,5 @@ var searchData= [ - ['weight_5fat_5fage_541',['weight_at_age',['../structfims__popdy_1_1Population.html#af47ce32958aabaca12839b657ab77acb',1,'fims_popdy::Population']]], - ['weights_542',['weights',['../classEWAAGrowthInterface.html#ac64ebcacc22bb5b546194626dfe46b86',1,'EWAAGrowthInterface']]] + ['weight_5fat_5fage_540',['weight_at_age',['../structfims__popdy_1_1Population.html#af47ce32958aabaca12839b657ab77acb',1,'fims_popdy::Population']]], + ['weights_541',['weights',['../classEWAAGrowthInterface.html#ac64ebcacc22bb5b546194626dfe46b86',1,'EWAAGrowthInterface']]] ]; diff --git a/docs/search/variables_15.js b/docs/search/variables_15.js index 8c237ab..ed0110f 100644 --- a/docs/search/variables_15.js +++ b/docs/search/variables_15.js @@ -1,4 +1,4 @@ var searchData= [ - ['x_543',['x',['../classDnormDistributionsInterface.html#a548824b92bedb476bc50826c4ca1c476',1,'DnormDistributionsInterface::x()'],['../classDlnormDistributionsInterface.html#ad06d7fb7cebfd89d7de57a669bdd2190',1,'DlnormDistributionsInterface::x()'],['../classDmultinomDistributionsInterface.html#a2596b936531b67b3c4586cfeeecc4578',1,'DmultinomDistributionsInterface::x()']]] + ['x_542',['x',['../classDnormDistributionsInterface.html#a548824b92bedb476bc50826c4ca1c476',1,'DnormDistributionsInterface::x()'],['../classDlnormDistributionsInterface.html#ad06d7fb7cebfd89d7de57a669bdd2190',1,'DlnormDistributionsInterface::x()'],['../classDmultinomDistributionsInterface.html#a2596b936531b67b3c4586cfeeecc4578',1,'DmultinomDistributionsInterface::x()']]] ]; diff --git a/docs/search/variables_16.js b/docs/search/variables_16.js index 9a73731..ec1bd84 100644 --- a/docs/search/variables_16.js +++ b/docs/search/variables_16.js @@ -1,5 +1,5 @@ var searchData= [ - ['years_544',['years',['../structfims__popdy_1_1Population.html#aeb613c6e85cca9fa2cdc356dd3e01e90',1,'fims_popdy::Population']]], - ['ymax_545',['ymax',['../classAgeCompDataInterface.html#a065981c4d8dd880ce7f3892502e8b8fe',1,'AgeCompDataInterface::ymax()'],['../classIndexDataInterface.html#a31c8efb7ef2c3a89ec7272101d3c03b1',1,'IndexDataInterface::ymax()']]] + ['years_543',['years',['../structfims__popdy_1_1Population.html#aeb613c6e85cca9fa2cdc356dd3e01e90',1,'fims_popdy::Population']]], + ['ymax_544',['ymax',['../classAgeCompDataInterface.html#a065981c4d8dd880ce7f3892502e8b8fe',1,'AgeCompDataInterface::ymax()'],['../classIndexDataInterface.html#a31c8efb7ef2c3a89ec7272101d3c03b1',1,'IndexDataInterface::ymax()']]] ]; diff --git a/docs/search/variables_2.js b/docs/search/variables_2.js index 65595ae..9e7b6ab 100644 --- a/docs/search/variables_2.js +++ b/docs/search/variables_2.js @@ -1,8 +1,8 @@ var searchData= [ - ['catch_5fat_5fage_436',['catch_at_age',['../structfims__popdy_1_1Fleet.html#a4954ecad1b71405199fe763c943a879f',1,'fims_popdy::Fleet']]], - ['catch_5findex_437',['catch_index',['../structfims__popdy_1_1Fleet.html#a16904e2107eca3523efeb4b108508305',1,'fims_popdy::Fleet']]], - ['catch_5fnumbers_5fat_5fage_438',['catch_numbers_at_age',['../structfims__popdy_1_1Fleet.html#a2e0060d1cc9cbfbe05e066942923c7b6',1,'fims_popdy::Fleet']]], - ['catch_5fweight_5fat_5fage_439',['catch_weight_at_age',['../structfims__popdy_1_1Fleet.html#a8e19ca87a539e16be37cfd6fd944abe0',1,'fims_popdy::Fleet']]], - ['constrain_5fdeviations_440',['constrain_deviations',['../structfims__popdy_1_1RecruitmentBase.html#a89cb23e1edcad304e74ded6bc97fe220',1,'fims_popdy::RecruitmentBase']]] + ['catch_5fat_5fage_435',['catch_at_age',['../structfims__popdy_1_1Fleet.html#a4954ecad1b71405199fe763c943a879f',1,'fims_popdy::Fleet']]], + ['catch_5findex_436',['catch_index',['../structfims__popdy_1_1Fleet.html#a16904e2107eca3523efeb4b108508305',1,'fims_popdy::Fleet']]], + ['catch_5fnumbers_5fat_5fage_437',['catch_numbers_at_age',['../structfims__popdy_1_1Fleet.html#a2e0060d1cc9cbfbe05e066942923c7b6',1,'fims_popdy::Fleet']]], + ['catch_5fweight_5fat_5fage_438',['catch_weight_at_age',['../structfims__popdy_1_1Fleet.html#a8e19ca87a539e16be37cfd6fd944abe0',1,'fims_popdy::Fleet']]], + ['constrain_5fdeviations_439',['constrain_deviations',['../structfims__popdy_1_1RecruitmentBase.html#a89cb23e1edcad304e74ded6bc97fe220',1,'fims_popdy::RecruitmentBase']]] ]; diff --git a/docs/search/variables_3.js b/docs/search/variables_3.js index 6b22be0..5876b02 100644 --- a/docs/search/variables_3.js +++ b/docs/search/variables_3.js @@ -1,8 +1,8 @@ var searchData= [ - ['data_441',['data',['../structfims__data__object_1_1DataObject.html#a3077684bb5ff240e6f7a3264f9460ccd',1,'fims_data_object::DataObject']]], - ['data_5fobjects_442',['data_objects',['../classfims__info_1_1Information.html#afe718e2553694ba44247477ee0d187e9',1,'fims_info::Information']]], - ['deviations_443',['deviations',['../classBevertonHoltRecruitmentInterface.html#a51865c7f4a0290a642b01d7aad4b764c',1,'BevertonHoltRecruitmentInterface']]], - ['dimensions_444',['dimensions',['../structfims__data__object_1_1DataObject.html#ad407ca752c73714b8852b894b3a76026',1,'fims_data_object::DataObject']]], - ['distribution_5fmodels_445',['distribution_models',['../classfims__info_1_1Information.html#a58bb3c5ece05f907df23672c67070be4',1,'fims_info::Information']]] + ['data_440',['data',['../structfims__data__object_1_1DataObject.html#a3077684bb5ff240e6f7a3264f9460ccd',1,'fims_data_object::DataObject']]], + ['data_5fobjects_441',['data_objects',['../classfims__info_1_1Information.html#afe718e2553694ba44247477ee0d187e9',1,'fims_info::Information']]], + ['deviations_442',['deviations',['../classBevertonHoltRecruitmentInterface.html#a51865c7f4a0290a642b01d7aad4b764c',1,'BevertonHoltRecruitmentInterface']]], + ['dimensions_443',['dimensions',['../structfims__data__object_1_1DataObject.html#ad407ca752c73714b8852b894b3a76026',1,'fims_data_object::DataObject']]], + ['distribution_5fmodels_444',['distribution_models',['../classfims__info_1_1Information.html#a58bb3c5ece05f907df23672c67070be4',1,'fims_info::Information']]] ]; diff --git a/docs/search/variables_4.js b/docs/search/variables_4.js index 6d321a9..ad73adc 100644 --- a/docs/search/variables_4.js +++ b/docs/search/variables_4.js @@ -1,15 +1,15 @@ var searchData= [ - ['estimate_5fdeviations_446',['estimate_deviations',['../classBevertonHoltRecruitmentInterface.html#ad2943e80132926b04ba61a340016c5ff',1,'BevertonHoltRecruitmentInterface']]], - ['estimate_5ff_447',['estimate_F',['../classFleetInterface.html#ae840183f3f6166985c94948788cb3020',1,'FleetInterface']]], - ['estimate_5finitnaa_448',['estimate_initNAA',['../classPopulationInterface.html#ab389fa2195c30c3e7d1e00f0b16c30bc',1,'PopulationInterface']]], - ['estimate_5fm_449',['estimate_M',['../classPopulationInterface.html#add9e9148642502f037879b1028e9f627',1,'PopulationInterface']]], - ['estimate_5fq_450',['estimate_q',['../classFleetInterface.html#a1358c0ae2f7e96e057567875c0849042',1,'FleetInterface']]], - ['estimate_5frecruit_5fdeviations_451',['estimate_recruit_deviations',['../structfims__popdy_1_1RecruitmentBase.html#a0a4e6a1c00c527804bc6bbdb9e07ec9d',1,'fims_popdy::RecruitmentBase']]], - ['estimated_5fm_452',['estimated_m',['../classParameter.html#a868b6b52383d2808f693c75e9303d173',1,'Parameter']]], - ['ewaa_453',['ewaa',['../classEWAAGrowthInterface.html#a56a134796f622557d6bbd2b1ec3754e7',1,'EWAAGrowthInterface::ewaa()'],['../structfims__popdy_1_1EWAAgrowth.html#a23e2638b21a6c6ecba17244a3db3e871',1,'fims_popdy::EWAAgrowth::ewaa()']]], - ['expected_5fcatch_454',['expected_catch',['../structfims__popdy_1_1Fleet.html#a5ab08d1d163f35f7e7188c482f50f4e4',1,'fims_popdy::Fleet::expected_catch()'],['../structfims__popdy_1_1Population.html#a2863362a6192bd5592716012a59c3fd4',1,'fims_popdy::Population::expected_catch()']]], - ['expected_5findex_455',['expected_index',['../structfims__popdy_1_1Fleet.html#a822c045db6709b2d092717a0eeef44b5',1,'fims_popdy::Fleet']]], - ['expected_5fnumbers_5fat_5fage_456',['expected_numbers_at_age',['../structfims__popdy_1_1Population.html#a1992d6739049befd208d3e7b674804a6',1,'fims_popdy::Population']]], - ['expected_5frecruitment_457',['expected_recruitment',['../structfims__popdy_1_1Population.html#ad161057615a7e60d07186038e0149cff',1,'fims_popdy::Population']]] + ['estimate_5fdeviations_445',['estimate_deviations',['../classBevertonHoltRecruitmentInterface.html#ad2943e80132926b04ba61a340016c5ff',1,'BevertonHoltRecruitmentInterface']]], + ['estimate_5ff_446',['estimate_F',['../classFleetInterface.html#ae840183f3f6166985c94948788cb3020',1,'FleetInterface']]], + ['estimate_5finitnaa_447',['estimate_initNAA',['../classPopulationInterface.html#ab389fa2195c30c3e7d1e00f0b16c30bc',1,'PopulationInterface']]], + ['estimate_5fm_448',['estimate_M',['../classPopulationInterface.html#add9e9148642502f037879b1028e9f627',1,'PopulationInterface']]], + ['estimate_5fq_449',['estimate_q',['../classFleetInterface.html#a1358c0ae2f7e96e057567875c0849042',1,'FleetInterface']]], + ['estimate_5frecruit_5fdeviations_450',['estimate_recruit_deviations',['../structfims__popdy_1_1RecruitmentBase.html#a0a4e6a1c00c527804bc6bbdb9e07ec9d',1,'fims_popdy::RecruitmentBase']]], + ['estimated_5fm_451',['estimated_m',['../classParameter.html#a868b6b52383d2808f693c75e9303d173',1,'Parameter']]], + ['ewaa_452',['ewaa',['../classEWAAGrowthInterface.html#a56a134796f622557d6bbd2b1ec3754e7',1,'EWAAGrowthInterface::ewaa()'],['../structfims__popdy_1_1EWAAgrowth.html#a23e2638b21a6c6ecba17244a3db3e871',1,'fims_popdy::EWAAgrowth::ewaa()']]], + ['expected_5fcatch_453',['expected_catch',['../structfims__popdy_1_1Fleet.html#a5ab08d1d163f35f7e7188c482f50f4e4',1,'fims_popdy::Fleet::expected_catch()'],['../structfims__popdy_1_1Population.html#a2863362a6192bd5592716012a59c3fd4',1,'fims_popdy::Population::expected_catch()']]], + ['expected_5findex_454',['expected_index',['../structfims__popdy_1_1Fleet.html#a822c045db6709b2d092717a0eeef44b5',1,'fims_popdy::Fleet']]], + ['expected_5fnumbers_5fat_5fage_455',['expected_numbers_at_age',['../structfims__popdy_1_1Population.html#a1992d6739049befd208d3e7b674804a6',1,'fims_popdy::Population']]], + ['expected_5frecruitment_456',['expected_recruitment',['../structfims__popdy_1_1Population.html#ad161057615a7e60d07186038e0149cff',1,'fims_popdy::Population']]] ]; diff --git a/docs/search/variables_5.js b/docs/search/variables_5.js index 2ea68a1..0177065 100644 --- a/docs/search/variables_5.js +++ b/docs/search/variables_5.js @@ -1,16 +1,16 @@ var searchData= [ - ['fims_5finformation_458',['fims_information',['../classfims__info_1_1Information.html#af21bebe91662251ada5ac37feaac1af5',1,'fims_info::Information::fims_information()'],['../classfims__model_1_1Model.html#addfa06809f60c7b5ef64c03c4cd204a9',1,'fims_model::Model::fims_information()']]], - ['fims_5finterface_5fobjects_459',['fims_interface_objects',['../classFIMSRcppInterfaceBase.html#a27f6c0a9860f56c17951872fe26b1515',1,'FIMSRcppInterfaceBase']]], - ['fims_5flogs_460',['FIMS_LOGS',['../classfims_1_1fims__log.html#aa1cc598b84e999b7d60ebc9bf1b03ae8',1,'fims::fims_log']]], - ['fims_5fmodel_461',['fims_model',['../classfims__model_1_1Model.html#a9b1e4383331085750c40db5bbc5590e6',1,'fims_model::Model']]], - ['fixed_5feffects_5fparameters_462',['fixed_effects_parameters',['../classfims__info_1_1Information.html#af95752279c137c15f9cb0ceb03327f02',1,'fims_info::Information::fixed_effects_parameters()'],['../structfims__model__object_1_1FIMSObject.html#aca6a96ab8e6a4cca573daa5f52e71c67',1,'fims_model_object::FIMSObject::fixed_effects_parameters()']]], - ['fleet_5fagecomp_5flikelihood_5fid_5fm_463',['fleet_agecomp_likelihood_id_m',['../structfims__popdy_1_1Fleet.html#aea200900cf939e40326e46b21b3e5c0c',1,'fims_popdy::Fleet']]], - ['fleet_5fid_464',['fleet_id',['../structfims__popdy_1_1Population.html#a8d1aba2c74885a0c3e681ac22200d0bd',1,'fims_popdy::Population']]], - ['fleet_5findex_5flikelihood_5fid_5fm_465',['fleet_index_likelihood_id_m',['../structfims__popdy_1_1Fleet.html#a8815211b491150647f4f4d0ef3e2a790',1,'fims_popdy::Fleet']]], - ['fleet_5fobserved_5fagecomp_5fdata_5fid_5fm_466',['fleet_observed_agecomp_data_id_m',['../structfims__popdy_1_1Fleet.html#a650c1f21f4efce9a78472408e4abd2d2',1,'fims_popdy::Fleet']]], - ['fleet_5fobserved_5findex_5fdata_5fid_5fm_467',['fleet_observed_index_data_id_m',['../structfims__popdy_1_1Fleet.html#ab8fa4db5de7dba45fece778e182d4e27',1,'fims_popdy::Fleet']]], - ['fleet_5fselectivity_5fid_5fm_468',['fleet_selectivity_id_m',['../structfims__popdy_1_1Fleet.html#a3bfbbc0bf021aa8f6f2730d42027d17d',1,'fims_popdy::Fleet']]], - ['fleets_469',['fleets',['../classfims__info_1_1Information.html#a4d544f7e8c08032dd12ef14961e40822',1,'fims_info::Information::fleets()'],['../structfims__popdy_1_1Population.html#adc45b7c99ccab41f6d9f78e85dc4e11e',1,'fims_popdy::Population::fleets()']]], - ['fmort_470',['Fmort',['../structfims__popdy_1_1Fleet.html#ab725be0e427b61a5d7d3c668619b7daa',1,'fims_popdy::Fleet']]] + ['fims_5finformation_457',['fims_information',['../classfims__info_1_1Information.html#af21bebe91662251ada5ac37feaac1af5',1,'fims_info::Information::fims_information()'],['../classfims__model_1_1Model.html#addfa06809f60c7b5ef64c03c4cd204a9',1,'fims_model::Model::fims_information()']]], + ['fims_5finterface_5fobjects_458',['fims_interface_objects',['../classFIMSRcppInterfaceBase.html#a27f6c0a9860f56c17951872fe26b1515',1,'FIMSRcppInterfaceBase']]], + ['fims_5flogs_459',['FIMS_LOGS',['../classfims_1_1fims__log.html#aa1cc598b84e999b7d60ebc9bf1b03ae8',1,'fims::fims_log']]], + ['fims_5fmodel_460',['fims_model',['../classfims__model_1_1Model.html#a9b1e4383331085750c40db5bbc5590e6',1,'fims_model::Model']]], + ['fixed_5feffects_5fparameters_461',['fixed_effects_parameters',['../classfims__info_1_1Information.html#af95752279c137c15f9cb0ceb03327f02',1,'fims_info::Information::fixed_effects_parameters()'],['../structfims__model__object_1_1FIMSObject.html#aca6a96ab8e6a4cca573daa5f52e71c67',1,'fims_model_object::FIMSObject::fixed_effects_parameters()']]], + ['fleet_5fagecomp_5flikelihood_5fid_5fm_462',['fleet_agecomp_likelihood_id_m',['../structfims__popdy_1_1Fleet.html#aea200900cf939e40326e46b21b3e5c0c',1,'fims_popdy::Fleet']]], + ['fleet_5fid_463',['fleet_id',['../structfims__popdy_1_1Population.html#a8d1aba2c74885a0c3e681ac22200d0bd',1,'fims_popdy::Population']]], + ['fleet_5findex_5flikelihood_5fid_5fm_464',['fleet_index_likelihood_id_m',['../structfims__popdy_1_1Fleet.html#a8815211b491150647f4f4d0ef3e2a790',1,'fims_popdy::Fleet']]], + ['fleet_5fobserved_5fagecomp_5fdata_5fid_5fm_465',['fleet_observed_agecomp_data_id_m',['../structfims__popdy_1_1Fleet.html#a650c1f21f4efce9a78472408e4abd2d2',1,'fims_popdy::Fleet']]], + ['fleet_5fobserved_5findex_5fdata_5fid_5fm_466',['fleet_observed_index_data_id_m',['../structfims__popdy_1_1Fleet.html#ab8fa4db5de7dba45fece778e182d4e27',1,'fims_popdy::Fleet']]], + ['fleet_5fselectivity_5fid_5fm_467',['fleet_selectivity_id_m',['../structfims__popdy_1_1Fleet.html#a3bfbbc0bf021aa8f6f2730d42027d17d',1,'fims_popdy::Fleet']]], + ['fleets_468',['fleets',['../classfims__info_1_1Information.html#a4d544f7e8c08032dd12ef14961e40822',1,'fims_info::Information::fleets()'],['../structfims__popdy_1_1Population.html#adc45b7c99ccab41f6d9f78e85dc4e11e',1,'fims_popdy::Population::fleets()']]], + ['fmort_469',['Fmort',['../structfims__popdy_1_1Fleet.html#ab725be0e427b61a5d7d3c668619b7daa',1,'fims_popdy::Fleet']]] ]; diff --git a/docs/search/variables_6.js b/docs/search/variables_6.js index 2c267e4..054eb5f 100644 --- a/docs/search/variables_6.js +++ b/docs/search/variables_6.js @@ -1,6 +1,6 @@ var searchData= [ - ['growth_471',['growth',['../structfims__popdy_1_1Population.html#a0431f0fc28e63b1737768b2d2fe0dd2f',1,'fims_popdy::Population']]], - ['growth_5fid_472',['growth_id',['../classPopulationInterface.html#a6fb2eeeb7e66dd534b38f8bb7c2801dc',1,'PopulationInterface::growth_id()'],['../structfims__popdy_1_1Population.html#a2a54f5e84ea887a65239dfcaba9ae489',1,'fims_popdy::Population::growth_id()']]], - ['growth_5fmodels_473',['growth_models',['../classfims__info_1_1Information.html#a4edd9876dd8d49da388487ec26b5ada6',1,'fims_info::Information']]] + ['growth_470',['growth',['../structfims__popdy_1_1Population.html#a0431f0fc28e63b1737768b2d2fe0dd2f',1,'fims_popdy::Population']]], + ['growth_5fid_471',['growth_id',['../classPopulationInterface.html#a6fb2eeeb7e66dd534b38f8bb7c2801dc',1,'PopulationInterface::growth_id()'],['../structfims__popdy_1_1Population.html#a2a54f5e84ea887a65239dfcaba9ae489',1,'fims_popdy::Population::growth_id()']]], + ['growth_5fmodels_472',['growth_models',['../classfims__info_1_1Information.html#a4edd9876dd8d49da388487ec26b5ada6',1,'fims_info::Information']]] ]; diff --git a/docs/search/variables_7.js b/docs/search/variables_7.js index fa2084e..3e7c64e 100644 --- a/docs/search/variables_7.js +++ b/docs/search/variables_7.js @@ -1,14 +1,14 @@ var searchData= [ - ['id_474',['id',['../classDataInterfaceBase.html#a88e19c1bbcc54def5095ce57143ad484',1,'DataInterfaceBase::id()'],['../structfims__model__object_1_1FIMSObject.html#a3922946642efc5ec4309149f1e0b188a',1,'fims_model_object::FIMSObject::id()'],['../classDistributionsInterfaceBase.html#afdb0fac86d30fbd1fc60abea3ad209fe',1,'DistributionsInterfaceBase::id()'],['../classSelectivityInterfaceBase.html#ad75482256de49ee97eb312ac8fa6fb17',1,'SelectivityInterfaceBase::id()'],['../classRecruitmentInterfaceBase.html#a3edf8070f5555b4868b429f7ef1b41be',1,'RecruitmentInterfaceBase::id()'],['../classPopulationInterfaceBase.html#a52bc457332deb78a632d94d94764a2e5',1,'PopulationInterfaceBase::id()'],['../classNLLInterfaceBase.html#a50cba968587eacf921b89dca1b251c9e',1,'NLLInterfaceBase::id()'],['../classMaturityInterfaceBase.html#a9e437596bb8a8805a1106e850def8bbf',1,'MaturityInterfaceBase::id()'],['../classGrowthInterfaceBase.html#aedcf584aed8f0401ebb0b2bb99c3394a',1,'GrowthInterfaceBase::id()'],['../classFleetInterfaceBase.html#a65f53edf247ffd853afb80ff0d615494',1,'FleetInterfaceBase::id()']]], - ['id_5fg_475',['id_g',['../structfims__popdy_1_1SelectivityBase.html#a68336d55728d966508e52189c7a70db8',1,'fims_popdy::SelectivityBase::id_g()'],['../structfims__popdy_1_1RecruitmentBase.html#a537c92c88e8b006c2b6c58a91516e6a9',1,'fims_popdy::RecruitmentBase::id_g()'],['../structfims__popdy_1_1Population.html#aab0a108938ebdc50d667d9049711b00e',1,'fims_popdy::Population::id_g()'],['../structfims__popdy_1_1MaturityBase.html#a79295ed14ac51d968fd4776feaab9caa',1,'fims_popdy::MaturityBase::id_g()'],['../structfims__popdy_1_1GrowthBase.html#a016bebc606785d9be69f454def1b2855',1,'fims_popdy::GrowthBase::id_g()'],['../structfims__popdy_1_1Fleet.html#a278d9ec006b19fdaccec3ea13ea1e1b2',1,'fims_popdy::Fleet::id_g()'],['../classDistributionsInterfaceBase.html#af2f7855cea3e05c6b3db1984dbf9b499',1,'DistributionsInterfaceBase::id_g()'],['../classSelectivityInterfaceBase.html#ad00e0a11844faa3aba5950ee634354fb',1,'SelectivityInterfaceBase::id_g()'],['../classPopulationInterfaceBase.html#a9bc8bd7e05701019860160b95e75514c',1,'PopulationInterfaceBase::id_g()'],['../classNLLInterfaceBase.html#abc8b079e541820d036b2ae61e1325f90',1,'NLLInterfaceBase::id_g()'],['../classMaturityInterfaceBase.html#af28b36002fd4e5e21e8515df10be733a',1,'MaturityInterfaceBase::id_g()'],['../classGrowthInterfaceBase.html#ac76907326cf02002a0c370c4d3cd13b2',1,'GrowthInterfaceBase::id_g()'],['../classFleetInterfaceBase.html#a0c53dd713a9d01a8ba69172f1442a73f',1,'FleetInterfaceBase::id_g()'],['../classDataInterfaceBase.html#a66892533bbb1380c43244b07c7308b9e',1,'DataInterfaceBase::id_g()'],['../structfims__distributions_1_1DistributionsBase.html#a78d7004ebc819b40266a72fe02f41fd4',1,'fims_distributions::DistributionsBase::id_g()'],['../structfims__data__object_1_1DataObject.html#aebbddd354e62e177e1043fb71f1f5707',1,'fims_data_object::DataObject::id_g()'],['../classRecruitmentInterfaceBase.html#add97b934e6c02e4c768d71d2d50bc2fd',1,'RecruitmentInterfaceBase::id_g()']]], - ['imax_476',['imax',['../structfims__data__object_1_1DataObject.html#a7056b3ea27c50c5a3e86575bc81b826c',1,'fims_data_object::DataObject']]], - ['index_5fdata_477',['index_data',['../classIndexDataInterface.html#a8521c3c74bc49acbd63555a08a93170f',1,'IndexDataInterface']]], - ['index_5flikelihood_478',['index_likelihood',['../structfims__popdy_1_1Fleet.html#a7131f81bf4f92eed796903910fd2f91b',1,'fims_popdy::Fleet']]], - ['inflection_5fpoint_479',['inflection_point',['../classLogisticMaturityInterface.html#a13a45ebb81a5b3b3b6a88ba0396cc53f',1,'LogisticMaturityInterface::inflection_point()'],['../structfims__popdy_1_1LogisticSelectivity.html#a5a8122ebf1e430edb9d455b508f95972',1,'fims_popdy::LogisticSelectivity::inflection_point()'],['../structfims__popdy_1_1LogisticMaturity.html#a50aaced54b35469217798c9159fbd8eb',1,'fims_popdy::LogisticMaturity::inflection_point()'],['../classLogisticSelectivityInterface.html#a93ce064fc71322d421a1d2bf6b2b6241',1,'LogisticSelectivityInterface::inflection_point()']]], - ['inflection_5fpoint_5fasc_480',['inflection_point_asc',['../classDoubleLogisticSelectivityInterface.html#a81183b9ca6cbf349df88e55bf6576142',1,'DoubleLogisticSelectivityInterface::inflection_point_asc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#a3a93896a3d3e0e3c636b31b0633d0235',1,'fims_popdy::DoubleLogisticSelectivity::inflection_point_asc()']]], - ['inflection_5fpoint_5fdesc_481',['inflection_point_desc',['../classDoubleLogisticSelectivityInterface.html#ad5269203a701948b91fdbf17badc375e',1,'DoubleLogisticSelectivityInterface::inflection_point_desc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#a597fe7673e4fed7809371070e8694bc5',1,'fims_popdy::DoubleLogisticSelectivity::inflection_point_desc()']]], - ['initialized_482',['initialized',['../classEWAAGrowthInterface.html#a9cc2d5f9d01adeacf478f938be9c688a',1,'EWAAGrowthInterface']]], - ['is_5frandom_5feffect_5fm_483',['is_random_effect_m',['../classParameter.html#ab1982e622b732589036b47f0696d2f5c',1,'Parameter']]], - ['is_5fsurvey_484',['is_survey',['../classFleetInterface.html#a7ae805aa463983024010a368061b1da0',1,'FleetInterface::is_survey()'],['../structfims__popdy_1_1Fleet.html#a07e52c1aa205b8dcdf1119242f45117d',1,'fims_popdy::Fleet::is_survey()']]] + ['id_473',['id',['../classDataInterfaceBase.html#a88e19c1bbcc54def5095ce57143ad484',1,'DataInterfaceBase::id()'],['../structfims__model__object_1_1FIMSObject.html#a3922946642efc5ec4309149f1e0b188a',1,'fims_model_object::FIMSObject::id()'],['../classDistributionsInterfaceBase.html#afdb0fac86d30fbd1fc60abea3ad209fe',1,'DistributionsInterfaceBase::id()'],['../classSelectivityInterfaceBase.html#ad75482256de49ee97eb312ac8fa6fb17',1,'SelectivityInterfaceBase::id()'],['../classRecruitmentInterfaceBase.html#a3edf8070f5555b4868b429f7ef1b41be',1,'RecruitmentInterfaceBase::id()'],['../classPopulationInterfaceBase.html#a52bc457332deb78a632d94d94764a2e5',1,'PopulationInterfaceBase::id()'],['../classNLLInterfaceBase.html#a50cba968587eacf921b89dca1b251c9e',1,'NLLInterfaceBase::id()'],['../classMaturityInterfaceBase.html#a9e437596bb8a8805a1106e850def8bbf',1,'MaturityInterfaceBase::id()'],['../classGrowthInterfaceBase.html#aedcf584aed8f0401ebb0b2bb99c3394a',1,'GrowthInterfaceBase::id()'],['../classFleetInterfaceBase.html#a65f53edf247ffd853afb80ff0d615494',1,'FleetInterfaceBase::id()']]], + ['id_5fg_474',['id_g',['../structfims__popdy_1_1SelectivityBase.html#a68336d55728d966508e52189c7a70db8',1,'fims_popdy::SelectivityBase::id_g()'],['../structfims__popdy_1_1RecruitmentBase.html#a537c92c88e8b006c2b6c58a91516e6a9',1,'fims_popdy::RecruitmentBase::id_g()'],['../structfims__popdy_1_1Population.html#aab0a108938ebdc50d667d9049711b00e',1,'fims_popdy::Population::id_g()'],['../structfims__popdy_1_1MaturityBase.html#a79295ed14ac51d968fd4776feaab9caa',1,'fims_popdy::MaturityBase::id_g()'],['../structfims__popdy_1_1GrowthBase.html#a016bebc606785d9be69f454def1b2855',1,'fims_popdy::GrowthBase::id_g()'],['../structfims__popdy_1_1Fleet.html#a278d9ec006b19fdaccec3ea13ea1e1b2',1,'fims_popdy::Fleet::id_g()'],['../classDistributionsInterfaceBase.html#af2f7855cea3e05c6b3db1984dbf9b499',1,'DistributionsInterfaceBase::id_g()'],['../classSelectivityInterfaceBase.html#ad00e0a11844faa3aba5950ee634354fb',1,'SelectivityInterfaceBase::id_g()'],['../classPopulationInterfaceBase.html#a9bc8bd7e05701019860160b95e75514c',1,'PopulationInterfaceBase::id_g()'],['../classNLLInterfaceBase.html#abc8b079e541820d036b2ae61e1325f90',1,'NLLInterfaceBase::id_g()'],['../classMaturityInterfaceBase.html#af28b36002fd4e5e21e8515df10be733a',1,'MaturityInterfaceBase::id_g()'],['../classGrowthInterfaceBase.html#ac76907326cf02002a0c370c4d3cd13b2',1,'GrowthInterfaceBase::id_g()'],['../classFleetInterfaceBase.html#a0c53dd713a9d01a8ba69172f1442a73f',1,'FleetInterfaceBase::id_g()'],['../classDataInterfaceBase.html#a66892533bbb1380c43244b07c7308b9e',1,'DataInterfaceBase::id_g()'],['../structfims__distributions_1_1DistributionsBase.html#a78d7004ebc819b40266a72fe02f41fd4',1,'fims_distributions::DistributionsBase::id_g()'],['../structfims__data__object_1_1DataObject.html#aebbddd354e62e177e1043fb71f1f5707',1,'fims_data_object::DataObject::id_g()'],['../classRecruitmentInterfaceBase.html#add97b934e6c02e4c768d71d2d50bc2fd',1,'RecruitmentInterfaceBase::id_g()']]], + ['imax_475',['imax',['../structfims__data__object_1_1DataObject.html#a7056b3ea27c50c5a3e86575bc81b826c',1,'fims_data_object::DataObject']]], + ['index_5fdata_476',['index_data',['../classIndexDataInterface.html#a8521c3c74bc49acbd63555a08a93170f',1,'IndexDataInterface']]], + ['index_5flikelihood_477',['index_likelihood',['../structfims__popdy_1_1Fleet.html#a7131f81bf4f92eed796903910fd2f91b',1,'fims_popdy::Fleet']]], + ['inflection_5fpoint_478',['inflection_point',['../classLogisticMaturityInterface.html#a13a45ebb81a5b3b3b6a88ba0396cc53f',1,'LogisticMaturityInterface::inflection_point()'],['../structfims__popdy_1_1LogisticSelectivity.html#a5a8122ebf1e430edb9d455b508f95972',1,'fims_popdy::LogisticSelectivity::inflection_point()'],['../structfims__popdy_1_1LogisticMaturity.html#a50aaced54b35469217798c9159fbd8eb',1,'fims_popdy::LogisticMaturity::inflection_point()'],['../classLogisticSelectivityInterface.html#a93ce064fc71322d421a1d2bf6b2b6241',1,'LogisticSelectivityInterface::inflection_point()']]], + ['inflection_5fpoint_5fasc_479',['inflection_point_asc',['../classDoubleLogisticSelectivityInterface.html#a81183b9ca6cbf349df88e55bf6576142',1,'DoubleLogisticSelectivityInterface::inflection_point_asc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#a3a93896a3d3e0e3c636b31b0633d0235',1,'fims_popdy::DoubleLogisticSelectivity::inflection_point_asc()']]], + ['inflection_5fpoint_5fdesc_480',['inflection_point_desc',['../classDoubleLogisticSelectivityInterface.html#ad5269203a701948b91fdbf17badc375e',1,'DoubleLogisticSelectivityInterface::inflection_point_desc()'],['../structfims__popdy_1_1DoubleLogisticSelectivity.html#a597fe7673e4fed7809371070e8694bc5',1,'fims_popdy::DoubleLogisticSelectivity::inflection_point_desc()']]], + ['initialized_481',['initialized',['../classEWAAGrowthInterface.html#a9cc2d5f9d01adeacf478f938be9c688a',1,'EWAAGrowthInterface']]], + ['is_5frandom_5feffect_5fm_482',['is_random_effect_m',['../classParameter.html#ab1982e622b732589036b47f0696d2f5c',1,'Parameter']]], + ['is_5fsurvey_483',['is_survey',['../classFleetInterface.html#a7ae805aa463983024010a368061b1da0',1,'FleetInterface::is_survey()'],['../structfims__popdy_1_1Fleet.html#a07e52c1aa205b8dcdf1119242f45117d',1,'fims_popdy::Fleet::is_survey()']]] ]; diff --git a/docs/search/variables_8.js b/docs/search/variables_8.js index 9381c1d..b2cb4bb 100644 --- a/docs/search/variables_8.js +++ b/docs/search/variables_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['jmax_485',['jmax',['../structfims__data__object_1_1DataObject.html#adeac7e86caf7ed8b6bd891eff87abeb6',1,'fims_data_object::DataObject']]] + ['jmax_484',['jmax',['../structfims__data__object_1_1DataObject.html#adeac7e86caf7ed8b6bd891eff87abeb6',1,'fims_data_object::DataObject']]] ]; diff --git a/docs/search/variables_9.js b/docs/search/variables_9.js index 767c1ad..4936a88 100644 --- a/docs/search/variables_9.js +++ b/docs/search/variables_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['kmax_486',['kmax',['../structfims__data__object_1_1DataObject.html#a1f224a8a381eddc0286f044dc087c686',1,'fims_data_object::DataObject']]] + ['kmax_485',['kmax',['../structfims__data__object_1_1DataObject.html#a1f224a8a381eddc0286f044dc087c686',1,'fims_data_object::DataObject']]] ]; diff --git a/docs/search/variables_a.js b/docs/search/variables_a.js index ac4389d..9ad9d9e 100644 --- a/docs/search/variables_a.js +++ b/docs/search/variables_a.js @@ -1,13 +1,13 @@ var searchData= [ - ['live_5fobjects_487',['live_objects',['../classFleetInterfaceBase.html#a5605c3823e74602b62ed60ed2bae6847',1,'FleetInterfaceBase::live_objects()'],['../classGrowthInterfaceBase.html#a5a6704a5b7c2e7d63d6183136d6fb48e',1,'GrowthInterfaceBase::live_objects()'],['../classMaturityInterfaceBase.html#a2ddeb5cd2b04611601843e342d23f2a4',1,'MaturityInterfaceBase::live_objects()'],['../classNLLInterfaceBase.html#a017e42351e74f8077f1f7cd09a16bb2a',1,'NLLInterfaceBase::live_objects()'],['../classPopulationInterfaceBase.html#a99fc4b0a5a0f572f9bf46670a996d3e9',1,'PopulationInterfaceBase::live_objects()'],['../classRecruitmentInterfaceBase.html#a37028a265deac1c36cdc879d5d6ac18a',1,'RecruitmentInterfaceBase::live_objects()'],['../classSelectivityInterfaceBase.html#a73e2366d975093bd8fc22beeb45049df',1,'SelectivityInterfaceBase::live_objects()'],['../classDistributionsInterfaceBase.html#ae285ae2cd00da6eddbabf2c090ffa9fc',1,'DistributionsInterfaceBase::live_objects()'],['../classDataInterfaceBase.html#a193b46f3002eda7eaef25e2106104fbf',1,'DataInterfaceBase::live_objects()']]], - ['lmax_488',['lmax',['../structfims__data__object_1_1DataObject.html#a0f1903e29547d7e716c6a6c3300b2480',1,'fims_data_object::DataObject']]], - ['log_5ffmort_489',['log_Fmort',['../classFleetInterface.html#a94438e7b6470900e6d90dff442b9c2c9',1,'FleetInterface::log_Fmort()'],['../structfims__popdy_1_1Fleet.html#a0c045a1d073885f7e9e9dfbcfe012b13',1,'fims_popdy::Fleet::log_Fmort()']]], - ['log_5finit_5fnaa_490',['log_init_naa',['../structfims__popdy_1_1Population.html#afa7dbc17b8c7e5dfabd925f371da4497',1,'fims_popdy::Population::log_init_naa()'],['../classPopulationInterface.html#a2d07c734a9e7bf65b3b9e1216ea8df77',1,'PopulationInterface::log_init_naa()']]], - ['log_5fm_491',['log_M',['../classPopulationInterface.html#afae0d90281be3207c796a6051ed3bff9',1,'PopulationInterface::log_M()'],['../structfims__popdy_1_1Population.html#a9f36a0945d290cfc692a9f45bd6546f0',1,'fims_popdy::Population::log_M()']]], - ['log_5fobs_5ferror_492',['log_obs_error',['../classFleetInterface.html#aa07a0830c4ef48d4cfc83e98809f3f29',1,'FleetInterface::log_obs_error()'],['../structfims__popdy_1_1Fleet.html#a18977795089be72107fbc7b932945703',1,'fims_popdy::Fleet::log_obs_error()']]], - ['log_5fq_493',['log_q',['../classFleetInterface.html#aa95122830a47e48154234fd477b55a0a',1,'FleetInterface::log_q()'],['../structfims__popdy_1_1Fleet.html#a5b3f8cf2f7c774fa1fa835e80661054a',1,'fims_popdy::Fleet::log_q()']]], - ['log_5frzero_494',['log_rzero',['../classBevertonHoltRecruitmentInterface.html#aef43664185856d401935a02eef1ebbba',1,'BevertonHoltRecruitmentInterface::log_rzero()'],['../structfims__popdy_1_1RecruitmentBase.html#aa020783765196f6028f267006e340bc9',1,'fims_popdy::RecruitmentBase::log_rzero()']]], - ['log_5fsigma_5frecruit_495',['log_sigma_recruit',['../classBevertonHoltRecruitmentInterface.html#ae9f46c25b71b73595850e6d24f91d1ea',1,'BevertonHoltRecruitmentInterface::log_sigma_recruit()'],['../structfims__popdy_1_1RecruitmentBase.html#a83318ec2a3032d33a90defeb399e95b8',1,'fims_popdy::RecruitmentBase::log_sigma_recruit()']]], - ['logit_5fsteep_496',['logit_steep',['../classBevertonHoltRecruitmentInterface.html#a1d3c3a96a3ff9a872aeeb57e343e1073',1,'BevertonHoltRecruitmentInterface::logit_steep()'],['../structfims__popdy_1_1SRBevertonHolt.html#a441ad312c069227e5912faa32c6ec4bf',1,'fims_popdy::SRBevertonHolt::logit_steep()']]] + ['live_5fobjects_486',['live_objects',['../classFleetInterfaceBase.html#a5605c3823e74602b62ed60ed2bae6847',1,'FleetInterfaceBase::live_objects()'],['../classGrowthInterfaceBase.html#a5a6704a5b7c2e7d63d6183136d6fb48e',1,'GrowthInterfaceBase::live_objects()'],['../classMaturityInterfaceBase.html#a2ddeb5cd2b04611601843e342d23f2a4',1,'MaturityInterfaceBase::live_objects()'],['../classNLLInterfaceBase.html#a017e42351e74f8077f1f7cd09a16bb2a',1,'NLLInterfaceBase::live_objects()'],['../classPopulationInterfaceBase.html#a99fc4b0a5a0f572f9bf46670a996d3e9',1,'PopulationInterfaceBase::live_objects()'],['../classRecruitmentInterfaceBase.html#a37028a265deac1c36cdc879d5d6ac18a',1,'RecruitmentInterfaceBase::live_objects()'],['../classSelectivityInterfaceBase.html#a73e2366d975093bd8fc22beeb45049df',1,'SelectivityInterfaceBase::live_objects()'],['../classDistributionsInterfaceBase.html#ae285ae2cd00da6eddbabf2c090ffa9fc',1,'DistributionsInterfaceBase::live_objects()'],['../classDataInterfaceBase.html#a193b46f3002eda7eaef25e2106104fbf',1,'DataInterfaceBase::live_objects()']]], + ['lmax_487',['lmax',['../structfims__data__object_1_1DataObject.html#a0f1903e29547d7e716c6a6c3300b2480',1,'fims_data_object::DataObject']]], + ['log_5ffmort_488',['log_Fmort',['../classFleetInterface.html#a94438e7b6470900e6d90dff442b9c2c9',1,'FleetInterface::log_Fmort()'],['../structfims__popdy_1_1Fleet.html#a0c045a1d073885f7e9e9dfbcfe012b13',1,'fims_popdy::Fleet::log_Fmort()']]], + ['log_5finit_5fnaa_489',['log_init_naa',['../structfims__popdy_1_1Population.html#afa7dbc17b8c7e5dfabd925f371da4497',1,'fims_popdy::Population::log_init_naa()'],['../classPopulationInterface.html#a2d07c734a9e7bf65b3b9e1216ea8df77',1,'PopulationInterface::log_init_naa()']]], + ['log_5fm_490',['log_M',['../classPopulationInterface.html#afae0d90281be3207c796a6051ed3bff9',1,'PopulationInterface::log_M()'],['../structfims__popdy_1_1Population.html#a9f36a0945d290cfc692a9f45bd6546f0',1,'fims_popdy::Population::log_M()']]], + ['log_5fobs_5ferror_491',['log_obs_error',['../classFleetInterface.html#aa07a0830c4ef48d4cfc83e98809f3f29',1,'FleetInterface::log_obs_error()'],['../structfims__popdy_1_1Fleet.html#a18977795089be72107fbc7b932945703',1,'fims_popdy::Fleet::log_obs_error()']]], + ['log_5fq_492',['log_q',['../classFleetInterface.html#aa95122830a47e48154234fd477b55a0a',1,'FleetInterface::log_q()'],['../structfims__popdy_1_1Fleet.html#a5b3f8cf2f7c774fa1fa835e80661054a',1,'fims_popdy::Fleet::log_q()']]], + ['log_5frzero_493',['log_rzero',['../classBevertonHoltRecruitmentInterface.html#aef43664185856d401935a02eef1ebbba',1,'BevertonHoltRecruitmentInterface::log_rzero()'],['../structfims__popdy_1_1RecruitmentBase.html#aa020783765196f6028f267006e340bc9',1,'fims_popdy::RecruitmentBase::log_rzero()']]], + ['log_5fsigma_5frecruit_494',['log_sigma_recruit',['../classBevertonHoltRecruitmentInterface.html#ae9f46c25b71b73595850e6d24f91d1ea',1,'BevertonHoltRecruitmentInterface::log_sigma_recruit()'],['../structfims__popdy_1_1RecruitmentBase.html#a83318ec2a3032d33a90defeb399e95b8',1,'fims_popdy::RecruitmentBase::log_sigma_recruit()']]], + ['logit_5fsteep_495',['logit_steep',['../classBevertonHoltRecruitmentInterface.html#a1d3c3a96a3ff9a872aeeb57e343e1073',1,'BevertonHoltRecruitmentInterface::logit_steep()'],['../structfims__popdy_1_1SRBevertonHolt.html#a441ad312c069227e5912faa32c6ec4bf',1,'fims_popdy::SRBevertonHolt::logit_steep()']]] ]; diff --git a/docs/search/variables_b.js b/docs/search/variables_b.js index 915a64c..6578212 100644 --- a/docs/search/variables_b.js +++ b/docs/search/variables_b.js @@ -1,13 +1,13 @@ var searchData= [ - ['m_497',['M',['../structfims__popdy_1_1Population.html#a07d70f7ea4788f97c9e2c307e8176ce6',1,'fims_popdy::Population']]], - ['maturity_498',['maturity',['../structfims__popdy_1_1Population.html#a101f347f836446bf6796a028ed302b0a',1,'fims_popdy::Population']]], - ['maturity_5fid_499',['maturity_id',['../classPopulationInterface.html#adb1038e8bac456cb85a1a6c913b16e9d',1,'PopulationInterface::maturity_id()'],['../structfims__popdy_1_1Population.html#ab2f55811906e85cdf288856d27f0f39d',1,'fims_popdy::Population::maturity_id()']]], - ['maturity_5fmodels_500',['maturity_models',['../classfims__info_1_1Information.html#ac266167f6ac429cc29ea8846c3da8781',1,'fims_info::Information']]], - ['max_5fm_501',['max_m',['../classParameter.html#ace3bc0c1165266d153b58730ee540289',1,'Parameter']]], - ['mean_502',['mean',['../classDnormDistributionsInterface.html#a157057ff78054cfe7ae32d257b93ac9d',1,'DnormDistributionsInterface']]], - ['meanlog_503',['meanlog',['../classDlnormDistributionsInterface.html#a20a951626ca31d1c5cddd862bfaf3376',1,'DlnormDistributionsInterface']]], - ['min_5fm_504',['min_m',['../classParameter.html#afd532cb4fb7bac35a67a0097ea16b784',1,'Parameter']]], - ['mortality_5ff_505',['mortality_F',['../structfims__popdy_1_1Population.html#a905e447a5343caaa0f41554afe9a44a5',1,'fims_popdy::Population']]], - ['mortality_5fz_506',['mortality_Z',['../structfims__popdy_1_1Population.html#aecc7a873c62d572d4f981249e08cf763',1,'fims_popdy::Population']]] + ['m_496',['M',['../structfims__popdy_1_1Population.html#a07d70f7ea4788f97c9e2c307e8176ce6',1,'fims_popdy::Population']]], + ['maturity_497',['maturity',['../structfims__popdy_1_1Population.html#a101f347f836446bf6796a028ed302b0a',1,'fims_popdy::Population']]], + ['maturity_5fid_498',['maturity_id',['../classPopulationInterface.html#adb1038e8bac456cb85a1a6c913b16e9d',1,'PopulationInterface::maturity_id()'],['../structfims__popdy_1_1Population.html#ab2f55811906e85cdf288856d27f0f39d',1,'fims_popdy::Population::maturity_id()']]], + ['maturity_5fmodels_499',['maturity_models',['../classfims__info_1_1Information.html#ac266167f6ac429cc29ea8846c3da8781',1,'fims_info::Information']]], + ['max_5fm_500',['max_m',['../classParameter.html#ace3bc0c1165266d153b58730ee540289',1,'Parameter']]], + ['mean_501',['mean',['../classDnormDistributionsInterface.html#a157057ff78054cfe7ae32d257b93ac9d',1,'DnormDistributionsInterface']]], + ['meanlog_502',['meanlog',['../classDlnormDistributionsInterface.html#a20a951626ca31d1c5cddd862bfaf3376',1,'DlnormDistributionsInterface']]], + ['min_5fm_503',['min_m',['../classParameter.html#afd532cb4fb7bac35a67a0097ea16b784',1,'Parameter']]], + ['mortality_5ff_504',['mortality_F',['../structfims__popdy_1_1Population.html#a905e447a5343caaa0f41554afe9a44a5',1,'fims_popdy::Population']]], + ['mortality_5fz_505',['mortality_Z',['../structfims__popdy_1_1Population.html#aecc7a873c62d572d4f981249e08cf763',1,'fims_popdy::Population']]] ]; diff --git a/docs/search/variables_c.js b/docs/search/variables_c.js index 53b2e02..5e99b16 100644 --- a/docs/search/variables_c.js +++ b/docs/search/variables_c.js @@ -1,8 +1,8 @@ var searchData= [ - ['nages_507',['nages',['../classfims__info_1_1Information.html#a1edb422656c6c8d3d87f4be016ac094d',1,'fims_info::Information::nages()'],['../classFleetInterface.html#a36dd220b4bcc6771b9f388825a1deb38',1,'FleetInterface::nages()'],['../classPopulationInterface.html#a3719adef12f12bcd2790da6b719c9d8d',1,'PopulationInterface::nages()'],['../structfims__popdy_1_1Fleet.html#a2b4fbf80c2df91bcc6d67932a2418e0d',1,'fims_popdy::Fleet::nages()'],['../structfims__popdy_1_1Population.html#ab74ad2aebad2eb0250cf51a63f26a2ce',1,'fims_popdy::Population::nages()']]], - ['nfleets_508',['nfleets',['../classPopulationInterface.html#a489d20b31f03bad7c93c37be022b371c',1,'PopulationInterface::nfleets()'],['../structfims__popdy_1_1Population.html#a311f680a45f2bfb93b0b78695c381e3b',1,'fims_popdy::Population::nfleets()']]], - ['nseasons_509',['nseasons',['../classfims__info_1_1Information.html#a845dfdd3e005fabf863be088e4908357',1,'fims_info::Information::nseasons()'],['../classPopulationInterface.html#a53a89836347c647583448e96938694c0',1,'PopulationInterface::nseasons()'],['../structfims__popdy_1_1Population.html#a07e1c378036f98ff1a9589d4ac7e8a5f',1,'fims_popdy::Population::nseasons()']]], - ['numbers_5fat_5fage_510',['numbers_at_age',['../structfims__popdy_1_1Population.html#a0e8b3d4a8dcc68f9bbebe6acb7b1a51d',1,'fims_popdy::Population']]], - ['nyears_511',['nyears',['../classfims__info_1_1Information.html#ac0e26205f51a84d49f51c07f05da39fe',1,'fims_info::Information::nyears()'],['../classFleetInterface.html#aed0b4b7a2b3564317c944b0077b13af9',1,'FleetInterface::nyears()'],['../classPopulationInterface.html#a2b642bbfe0f2e6efbe746dde1f9fd39e',1,'PopulationInterface::nyears()'],['../structfims__popdy_1_1Fleet.html#ab4eac8d75777fb405710a8fd980a4dba',1,'fims_popdy::Fleet::nyears()'],['../structfims__popdy_1_1Population.html#a3053ab3e549ab57472097c8a88e05416',1,'fims_popdy::Population::nyears()']]] + ['nages_506',['nages',['../classfims__info_1_1Information.html#a1edb422656c6c8d3d87f4be016ac094d',1,'fims_info::Information::nages()'],['../classFleetInterface.html#a36dd220b4bcc6771b9f388825a1deb38',1,'FleetInterface::nages()'],['../classPopulationInterface.html#a3719adef12f12bcd2790da6b719c9d8d',1,'PopulationInterface::nages()'],['../structfims__popdy_1_1Fleet.html#a2b4fbf80c2df91bcc6d67932a2418e0d',1,'fims_popdy::Fleet::nages()'],['../structfims__popdy_1_1Population.html#ab74ad2aebad2eb0250cf51a63f26a2ce',1,'fims_popdy::Population::nages()']]], + ['nfleets_507',['nfleets',['../classPopulationInterface.html#a489d20b31f03bad7c93c37be022b371c',1,'PopulationInterface::nfleets()'],['../structfims__popdy_1_1Population.html#a311f680a45f2bfb93b0b78695c381e3b',1,'fims_popdy::Population::nfleets()']]], + ['nseasons_508',['nseasons',['../classfims__info_1_1Information.html#a845dfdd3e005fabf863be088e4908357',1,'fims_info::Information::nseasons()'],['../classPopulationInterface.html#a53a89836347c647583448e96938694c0',1,'PopulationInterface::nseasons()'],['../structfims__popdy_1_1Population.html#a07e1c378036f98ff1a9589d4ac7e8a5f',1,'fims_popdy::Population::nseasons()']]], + ['numbers_5fat_5fage_509',['numbers_at_age',['../structfims__popdy_1_1Population.html#a0e8b3d4a8dcc68f9bbebe6acb7b1a51d',1,'fims_popdy::Population']]], + ['nyears_510',['nyears',['../classfims__info_1_1Information.html#ac0e26205f51a84d49f51c07f05da39fe',1,'fims_info::Information::nyears()'],['../classFleetInterface.html#aed0b4b7a2b3564317c944b0077b13af9',1,'FleetInterface::nyears()'],['../classPopulationInterface.html#a2b642bbfe0f2e6efbe746dde1f9fd39e',1,'PopulationInterface::nyears()'],['../structfims__popdy_1_1Fleet.html#ab4eac8d75777fb405710a8fd980a4dba',1,'fims_popdy::Fleet::nyears()'],['../structfims__popdy_1_1Population.html#a3053ab3e549ab57472097c8a88e05416',1,'fims_popdy::Population::nyears()']]] ]; diff --git a/docs/search/variables_d.js b/docs/search/variables_d.js index 4ba8dc5..e1daf64 100644 --- a/docs/search/variables_d.js +++ b/docs/search/variables_d.js @@ -1,6 +1,6 @@ var searchData= [ - ['observed_5fagecomp_5fdata_512',['observed_agecomp_data',['../structfims__popdy_1_1Fleet.html#a4eacf98c97dedaf93c7d7fec4107eace',1,'fims_popdy::Fleet']]], - ['observed_5fdata_513',['observed_data',['../classDataInterfaceBase.html#af9ee39d3918b797fd8f5b59b73865530',1,'DataInterfaceBase']]], - ['observed_5findex_5fdata_514',['observed_index_data',['../structfims__popdy_1_1Fleet.html#a6c6fde31050e3ea49f38ecbc694ffff6',1,'fims_popdy::Fleet']]] + ['observed_5fagecomp_5fdata_511',['observed_agecomp_data',['../structfims__popdy_1_1Fleet.html#a4eacf98c97dedaf93c7d7fec4107eace',1,'fims_popdy::Fleet']]], + ['observed_5fdata_512',['observed_data',['../classDataInterfaceBase.html#af9ee39d3918b797fd8f5b59b73865530',1,'DataInterfaceBase']]], + ['observed_5findex_5fdata_513',['observed_index_data',['../structfims__popdy_1_1Fleet.html#a6c6fde31050e3ea49f38ecbc694ffff6',1,'fims_popdy::Fleet']]] ]; diff --git a/docs/search/variables_e.js b/docs/search/variables_e.js index ed904e4..da61f1c 100644 --- a/docs/search/variables_e.js +++ b/docs/search/variables_e.js @@ -1,9 +1,9 @@ var searchData= [ - ['p_515',['p',['../classDmultinomDistributionsInterface.html#a563a86aac155b9a5477bb405e5d31b6a',1,'DmultinomDistributionsInterface']]], - ['parameters_516',['parameters',['../classfims__info_1_1Information.html#ab32f7d2e0f24b8c8f651a1cdf99cac17',1,'fims_info::Information::parameters()'],['../structfims__model__object_1_1FIMSObject.html#ac625a90f1af6d01d8c476d0a1ecb5343',1,'fims_model_object::FIMSObject::parameters()']]], - ['populations_517',['populations',['../classfims__info_1_1Information.html#a13bc1ac7074aeb44f7ceb0d2b9bb8531',1,'fims_info::Information']]], - ['prop_5ffemale_518',['prop_female',['../classPopulationInterface.html#a38728d527e6320c4770c853af48bca2b',1,'PopulationInterface']]], - ['proportion_5ffemale_519',['proportion_female',['../structfims__popdy_1_1Population.html#a0c5bd13516893e11f093fdfaa8638303',1,'fims_popdy::Population']]], - ['proportion_5fmature_5fat_5fage_520',['proportion_mature_at_age',['../structfims__popdy_1_1Population.html#a479fa5993d1d6597b65f8d0459d550a5',1,'fims_popdy::Population']]] + ['p_514',['p',['../classDmultinomDistributionsInterface.html#a563a86aac155b9a5477bb405e5d31b6a',1,'DmultinomDistributionsInterface']]], + ['parameters_515',['parameters',['../classfims__info_1_1Information.html#ab32f7d2e0f24b8c8f651a1cdf99cac17',1,'fims_info::Information::parameters()'],['../structfims__model__object_1_1FIMSObject.html#ac625a90f1af6d01d8c476d0a1ecb5343',1,'fims_model_object::FIMSObject::parameters()']]], + ['populations_516',['populations',['../classfims__info_1_1Information.html#a13bc1ac7074aeb44f7ceb0d2b9bb8531',1,'fims_info::Information']]], + ['prop_5ffemale_517',['prop_female',['../classPopulationInterface.html#a38728d527e6320c4770c853af48bca2b',1,'PopulationInterface']]], + ['proportion_5ffemale_518',['proportion_female',['../structfims__popdy_1_1Population.html#a0c5bd13516893e11f093fdfaa8638303',1,'fims_popdy::Population']]], + ['proportion_5fmature_5fat_5fage_519',['proportion_mature_at_age',['../structfims__popdy_1_1Population.html#a479fa5993d1d6597b65f8d0459d550a5',1,'fims_popdy::Population']]] ]; diff --git a/docs/search/variables_f.js b/docs/search/variables_f.js index 2da8414..63fcd03 100644 --- a/docs/search/variables_f.js +++ b/docs/search/variables_f.js @@ -1,4 +1,4 @@ var searchData= [ - ['q_521',['q',['../structfims__popdy_1_1Fleet.html#a3d3b3fd71ba4856b080c263024bfe2d7',1,'fims_popdy::Fleet']]] + ['q_520',['q',['../structfims__popdy_1_1Fleet.html#a3d3b3fd71ba4856b080c263024bfe2d7',1,'fims_popdy::Fleet']]] ]; diff --git a/docs/structfims__popdy_1_1Population.html b/docs/structfims__popdy_1_1Population.html index 3f755cd..a4defd4 100644 --- a/docs/structfims__popdy_1_1Population.html +++ b/docs/structfims__popdy_1_1Population.html @@ -215,7 +215,6 @@ - @@ -1525,8 +1524,6 @@

- -

recruitment

id of recruitment model object

Enumerator
Null 

Null JSON value.

diff --git a/docs/fims__json_8hpp_source.html b/docs/fims__json_8hpp_source.html index 981087c..8d18874 100644 --- a/docs/fims__json_8hpp_source.html +++ b/docs/fims__json_8hpp_source.html @@ -76,355 +76,354 @@
fims_json.hpp
-Go to the documentation of this file.
1 #include <cctype>
-
6 #include <iostream>
-
7 #include <map>
-
8 #include <sstream>
-
9 #include <string>
-
10 #include <vector>
-
11 
-
12 class JsonValue;
+Go to the documentation of this file.
1 
+
7 #include <cctype>
+
8 #include <iostream>
+
9 #include <map>
+
10 #include <sstream>
+
11 #include <string>
+
12 #include <vector>
13 
-
15 using JsonObject = std::map<std::string, JsonValue>;
-
16 
-
18 using JsonArray = std::vector<JsonValue>;
-
19 
- -
22  Null = 0,
- - -
25  Bool,
- -
27  Array
-
28 };
-
29 
-
31 class JsonValue {
-
32  public:
- -
35 
-
37  JsonValue(int num) : type(JsonValueType::Number), number(num) {}
-
38 
-
40  JsonValue(double num) : type(JsonValueType::Number), number(num) {}
-
41 
-
43  JsonValue(const std::string& str) : type(JsonValueType::String), str(str) {}
-
44 
-
46  JsonValue(bool b) : type(JsonValueType::Bool), boolean(b) {}
-
47 
-
49  JsonValue(const JsonObject& obj) : type(JsonValueType::Object), object(obj) {}
-
50 
-
52  JsonValue(const JsonArray& arr) : type(JsonValueType::Array), array(arr) {}
-
53 
-
55  JsonValueType GetType() const { return type; }
-
56 
-
58  int GetInt() const { return static_cast<int>(number); }
-
59 
-
61  double GetDouble() const { return number; }
-
62 
-
64  const std::string& GetString() const { return str; }
-
65 
-
67  bool GetBool() const { return boolean; }
-
68 
-
70  JsonObject& GetObject() { return object; }
-
71 
-
73  JsonArray& GetArray() { return array; }
-
74 
-
75  private:
-
76  JsonValueType type;
-
77  double number;
-
78  std::string str;
-
79  bool boolean;
-
80  JsonObject object;
-
81  JsonArray array;
-
82 };
-
83 
-
85 class JsonParser {
-
86  public:
-
88  JsonValue Parse(const std::string& json);
-
90  void WriteToFile(const std::string& filename, JsonValue jsonValue);
-
92  void Show(JsonValue jsonValue);
+
14 class JsonValue;
+
15 
+
19 using JsonObject = std::map<std::string, JsonValue>;
+
20 
+
24 using JsonArray = std::vector<JsonValue>;
+
25 
+ +
30  Null = 0,
+ + +
33  Bool,
+ +
35  Array
+
36 };
+
37 
+
41 class JsonValue {
+
42  public:
+ +
45 
+
47  JsonValue(int num) : type(JsonValueType::Number), number(num) {}
+
48 
+
50  JsonValue(double num) : type(JsonValueType::Number), number(num) {}
+
51 
+
53  JsonValue(const std::string& str) : type(JsonValueType::String), str(str) {}
+
54 
+
56  JsonValue(bool b) : type(JsonValueType::Bool), boolean(b) {}
+
57 
+
59  JsonValue(const JsonObject& obj) : type(JsonValueType::Object), object(obj) {}
+
60 
+
62  JsonValue(const JsonArray& arr) : type(JsonValueType::Array), array(arr) {}
+
63 
+
65  JsonValueType GetType() const { return type; }
+
66 
+
68  int GetInt() const { return static_cast<int>(number); }
+
69 
+
71  double GetDouble() const { return number; }
+
72 
+
74  const std::string& GetString() const { return str; }
+
75 
+
77  bool GetBool() const { return boolean; }
+
78 
+
80  JsonObject& GetObject() { return object; }
+
81 
+
83  JsonArray& GetArray() { return array; }
+
84 
+
85  private:
+
86  JsonValueType type;
+
87  double number;
+
88  std::string str;
+
89  bool boolean;
+
90  JsonObject object;
+
91  JsonArray array;
+
92 };
93 
-
94  private:
-
96  void SkipWhitespace();
-
98  JsonValue ParseValue();
-
100  JsonValue ParseNumber();
-
102  JsonValue ParseString();
-
104  JsonValue ParseBool();
-
106  JsonValue ParseNull();
-
108  JsonValue ParseObject();
-
110  JsonValue ParseArray();
-
112  void WriteJsonValue(std::ofstream& outputFile, JsonValue jsonValue);
-
114  void PrintJsonValue(std::ostream& outputFile, JsonValue jsonValue);
-
116  void Indent(std::ostream& outputFile, int level);
-
118  void Indent(std::ofstream& outputFile, int level);
-
119 
-
120  std::string data;
-
121  size_t position;
-
122 };
-
123 
-
127 JsonValue JsonParser::Parse(const std::string& json) {
-
128  data = json;
-
129  position = 0;
-
130  return ParseValue();
-
131 }
-
132 
-
133 void JsonParser::SkipWhitespace() {
-
134  while (position < data.length() && std::isspace(data[position])) {
-
135  position++;
-
136  }
-
137 }
-
138 
-
141 JsonValue JsonParser::ParseValue() {
-
143  SkipWhitespace();
-
144  char current = data[position];
-
145  if (current == '{') {
-
146  return ParseObject();
-
147  } else if (current == '[') {
-
148  return ParseArray();
-
149  } else if (current == '"') {
-
150  return ParseString();
-
151  } else if (current == 't' || current == 'f') {
-
152  return ParseBool();
-
153  } else if (current == 'n') {
-
154  return ParseNull();
-
155  } else {
-
156  return ParseNumber();
-
157  }
-
158 }
-
159 
-
162 JsonValue JsonParser::ParseNumber() {
-
163  size_t end_pos = position;
-
164  bool is_float = false;
-
165  while (end_pos < data.length() &&
-
166  (std::isdigit(data[end_pos]) || data[end_pos] == '.' ||
-
167  data[end_pos] == '-' || data[end_pos] == 'e' ||
-
168  data[end_pos] == 'E')) {
-
169  if (data[end_pos] == '.' || data[end_pos] == 'e' || data[end_pos] == 'E') {
-
170  is_float = true;
-
171  }
-
172  end_pos++;
+
97 class JsonParser {
+
98  public:
+
100  JsonValue Parse(const std::string& json);
+
102  void WriteToFile(const std::string& filename, JsonValue jsonValue);
+
104  void Show(JsonValue jsonValue);
+
105 
+
106  private:
+
108  void SkipWhitespace();
+
110  JsonValue ParseValue();
+
112  JsonValue ParseNumber();
+
114  JsonValue ParseString();
+
116  JsonValue ParseBool();
+
118  JsonValue ParseNull();
+
120  JsonValue ParseObject();
+
122  JsonValue ParseArray();
+
124  void WriteJsonValue(std::ofstream& outputFile, JsonValue jsonValue);
+
126  void PrintJsonValue(std::ostream& outputFile, JsonValue jsonValue);
+
128  void Indent(std::ostream& outputFile, int level);
+
130  void Indent(std::ofstream& outputFile, int level);
+
131 
+
132  std::string data;
+
133  size_t position;
+
134 };
+
135 
+
141 JsonValue JsonParser::Parse(const std::string& json) {
+
142  data = json;
+
143  position = 0;
+
144  return ParseValue();
+
145 }
+
146 
+
147 void JsonParser::SkipWhitespace() {
+
148  while (position < data.length() && std::isspace(data[position])) {
+
149  position++;
+
150  }
+
151 }
+
152 
+
157 JsonValue JsonParser::ParseValue() {
+
159  SkipWhitespace();
+
160  char current = data[position];
+
161  if (current == '{') {
+
162  return ParseObject();
+
163  } else if (current == '[') {
+
164  return ParseArray();
+
165  } else if (current == '"') {
+
166  return ParseString();
+
167  } else if (current == 't' || current == 'f') {
+
168  return ParseBool();
+
169  } else if (current == 'n') {
+
170  return ParseNull();
+
171  } else {
+
172  return ParseNumber();
173  }
-
174 
-
175  std::string num_str = data.substr(position, end_pos - position);
-
176  position = end_pos;
-
177 
-
178  if (is_float) {
-
179  double num;
-
180  std::istringstream(num_str) >> num;
-
181  return JsonValue(num);
-
182  } else {
-
183  int num;
-
184  std::istringstream(num_str) >> num;
-
185  return JsonValue(num);
-
186  }
-
187 }
-
188 
-
191 JsonValue JsonParser::ParseString() {
-
192  position++; // Skip the initial '"'
-
193  size_t end_pos = data.find('"', position);
-
194  std::string str = data.substr(position, end_pos - position);
-
195  position = end_pos + 1;
-
196  return JsonValue(str);
-
197 }
-
198 
-
201 JsonValue JsonParser::ParseBool() {
-
202  if (data.compare(position, 4, "true") == 0) {
-
203  position += 4;
-
204  return JsonValue(true);
-
205  } else if (data.compare(position, 5, "false") == 0) {
-
206  position += 5;
-
207  return JsonValue(false);
-
208  } else {
-
209  // Invalid boolean value
-
210  return JsonValue();
-
211  }
-
212 }
-
213 
-
216 JsonValue JsonParser::ParseNull() {
-
217  if (data.compare(position, 4, "null") == 0) {
-
218  position += 4;
-
219  return JsonValue();
-
220  } else {
-
221  // Invalid null value
-
222  return JsonValue();
-
223  }
-
224 }
-
225 
-
228 JsonValue JsonParser::ParseObject() {
-
229  JsonObject obj;
-
230  position++; // Skip the initial '{'
-
231 
-
232  while (data[position] != '}') {
-
233  SkipWhitespace();
-
234  std::string key = ParseString().GetString();
+
174 }
+
175 
+
180 JsonValue JsonParser::ParseNumber() {
+
181  size_t end_pos = position;
+
182  bool is_float = false;
+
183  while (end_pos < data.length() &&
+
184  (std::isdigit(data[end_pos]) || data[end_pos] == '.' ||
+
185  data[end_pos] == '-' || data[end_pos] == 'e' ||
+
186  data[end_pos] == 'E')) {
+
187  if (data[end_pos] == '.' || data[end_pos] == 'e' || data[end_pos] == 'E') {
+
188  is_float = true;
+
189  }
+
190  end_pos++;
+
191  }
+
192 
+
193  std::string num_str = data.substr(position, end_pos - position);
+
194  position = end_pos;
+
195 
+
196  if (is_float) {
+
197  double num;
+
198  std::istringstream(num_str) >> num;
+
199  return JsonValue(num);
+
200  } else {
+
201  int num;
+
202  std::istringstream(num_str) >> num;
+
203  return JsonValue(num);
+
204  }
+
205 }
+
206 
+
211 JsonValue JsonParser::ParseString() {
+
212  position++; // Skip the initial '"'
+
213  size_t end_pos = data.find('"', position);
+
214  std::string str = data.substr(position, end_pos - position);
+
215  position = end_pos + 1;
+
216  return JsonValue(str);
+
217 }
+
218 
+
223 JsonValue JsonParser::ParseBool() {
+
224  if (data.compare(position, 4, "true") == 0) {
+
225  position += 4;
+
226  return JsonValue(true);
+
227  } else if (data.compare(position, 5, "false") == 0) {
+
228  position += 5;
+
229  return JsonValue(false);
+
230  } else {
+
231  // Invalid boolean value
+
232  return JsonValue();
+
233  }
+
234 }
235 
-
236  position++; // Skip the ':'
-
237  SkipWhitespace();
-
238  JsonValue value = ParseValue();
-
239  obj[key] = value;
-
240 
-
241  SkipWhitespace();
-
242  if (data[position] == ',') {
-
243  position++;
-
244  }
-
245  }
-
246 
-
247  position++; // Skip the trailing '}'
-
248  return JsonValue(obj);
-
249 }
-
250 
-
253 JsonValue JsonParser::ParseArray() {
-
254  JsonArray arr;
-
255  position++; // Skip the initial '['
-
256 
-
257  while (data[position] != ']') {
-
258  SkipWhitespace();
-
259  JsonValue value = ParseValue();
-
260  arr.push_back(value);
+
240 JsonValue JsonParser::ParseNull() {
+
241  if (data.compare(position, 4, "null") == 0) {
+
242  position += 4;
+
243  return JsonValue();
+
244  } else {
+
245  // Invalid null value
+
246  return JsonValue();
+
247  }
+
248 }
+
249 
+
254 JsonValue JsonParser::ParseObject() {
+
255  JsonObject obj;
+
256  position++; // Skip the initial '{'
+
257 
+
258  while (data[position] != '}') {
+
259  SkipWhitespace();
+
260  std::string key = ParseString().GetString();
261 
-
262  SkipWhitespace();
-
263  if (data[position] == ',') {
-
264  position++;
-
265  }
-
266  }
-
267 
-
268  position++; // Skip the trailing ']'
-
269  return JsonValue(arr);
-
270 }
-
271 
-
275 void JsonParser::WriteToFile(const std::string& filename, JsonValue jsonValue) {
-
276  std::ofstream outputFile(filename);
-
277  if (!outputFile) {
-
278  std::cerr << "Error: Unable to open file " << filename << " for writing."
-
279  << std::endl;
-
280  return;
-
281  }
-
282 
-
283  // Call a private helper function to write JSON values recursively
-
284  WriteJsonValue(outputFile, jsonValue);
-
285 }
-
286 
-
288 // Private helper function to write JSON values recursively
-
291 void JsonParser::WriteJsonValue(std::ofstream& outputFile,
-
292  JsonValue jsonValue) {
-
293  switch (jsonValue.GetType()) {
-
294  case JsonValueType::Null:
-
295  outputFile << "null";
-
296  break;
- -
298  outputFile << jsonValue.GetDouble();
-
299  break;
- -
301  outputFile << "\"" << jsonValue.GetString() << "\"";
-
302  break;
-
303  case JsonValueType::Bool:
-
304  outputFile << (jsonValue.GetBool() ? "true" : "false");
-
305  break;
-
306  case JsonValueType::Object: {
-
307  JsonObject& obj = jsonValue.GetObject();
-
308  outputFile << "{";
-
309  bool first = true;
-
310  for (const auto& pair : obj) {
-
311  if (!first) {
-
312  outputFile << ",";
-
313  }
-
314  first = false;
-
315  outputFile << "\"" << pair.first << "\":";
-
316  WriteJsonValue(outputFile, pair.second);
-
317  }
-
318  outputFile << "}";
-
319  } break;
-
320  case JsonValueType::Array: {
-
321  JsonArray& arr = jsonValue.GetArray();
-
322  outputFile << "[";
-
323  bool first = true;
-
324  for (const auto& value : arr) {
-
325  if (!first) {
-
326  outputFile << ",";
-
327  }
-
328  first = false;
-
329  WriteJsonValue(outputFile, value);
-
330  }
-
331  outputFile << "]";
-
332  } break;
-
333  }
-
334 }
-
335 
-
338 void JsonParser::Show(JsonValue jsonValue) {
-
339  this->PrintJsonValue(std::cout, jsonValue);
-
340  std::cout << std::endl;
-
341 }
-
342 
-
346 void JsonParser::PrintJsonValue(std::ostream& output, JsonValue jsonValue) {
-
347  switch (jsonValue.GetType()) {
-
348  case JsonValueType::Null:
-
349  output << "null";
-
350  break;
- -
352  output << jsonValue.GetDouble();
-
353  break;
- -
355  output << "\"" << jsonValue.GetString() << "\"";
-
356  break;
-
357  case JsonValueType::Bool:
-
358  output << (jsonValue.GetBool() ? "true" : "false");
-
359  break;
-
360  case JsonValueType::Object: {
-
361  JsonObject& obj = jsonValue.GetObject();
-
362  output << "{";
-
363  bool first = true;
-
364  for (const auto& pair : obj) {
-
365  if (!first) {
-
366  output << ",";
-
367  }
-
368  first = false;
-
369  output << "\"" << pair.first << "\":";
-
370  PrintJsonValue(output, pair.second);
-
371  }
-
372  output << "}";
-
373  } break;
-
374  case JsonValueType::Array: {
-
375  JsonArray& arr = jsonValue.GetArray();
-
376  output << "[";
-
377  bool first = true;
-
378  for (const auto& value : arr) {
-
379  if (!first) {
-
380  output << ",";
-
381  }
-
382  first = false;
-
383  PrintJsonValue(output, value);
-
384  }
-
385  output << "]";
-
386  } break;
-
387  }
-
388 }
-
Parses JSON strings and generates JSON values.
Definition: fims_json.hpp:85
-
JsonValue Parse(const std::string &json)
Parse a JSON string and return the corresponding JSON value.
Definition: fims_json.hpp:127
-
void Show(JsonValue jsonValue)
Display a JSON value to the standard output.
Definition: fims_json.hpp:338
-
void WriteToFile(const std::string &filename, JsonValue jsonValue)
Write a JSON value to a file.
Definition: fims_json.hpp:275
-
Represents a JSON value.
Definition: fims_json.hpp:31
-
double GetDouble() const
Get the numeric value as a double.
Definition: fims_json.hpp:61
-
JsonValue(double num)
Constructor for numeric JSON value (i.e., double).
Definition: fims_json.hpp:40
-
JsonValueType GetType() const
Get the type of the JSON value.
Definition: fims_json.hpp:55
-
JsonValue(int num)
Constructor for numeric JSON value (i.e., integer).
Definition: fims_json.hpp:37
-
bool GetBool() const
Get the boolean value.
Definition: fims_json.hpp:67
-
JsonValue(bool b)
Constructor for boolean JSON value.
Definition: fims_json.hpp:46
-
JsonObject & GetObject()
Get the JSON object.
Definition: fims_json.hpp:70
-
JsonArray & GetArray()
Get the JSON array.
Definition: fims_json.hpp:73
-
JsonValue()
Default constructor, initializes to Null value.
Definition: fims_json.hpp:34
-
int GetInt() const
Get the numeric value as an integer.
Definition: fims_json.hpp:58
-
const std::string & GetString() const
Get the string value.
Definition: fims_json.hpp:64
-
JsonValue(const JsonObject &obj)
Constructor for JSON object value.
Definition: fims_json.hpp:49
-
JsonValue(const JsonArray &arr)
Constructor for JSON array value.
Definition: fims_json.hpp:52
-
JsonValue(const std::string &str)
Constructor for string JSON value.
Definition: fims_json.hpp:43
-
std::vector< JsonValue > JsonArray
Alias for a JSON array, containing a sequence of JSON values.
Definition: fims_json.hpp:18
-
std::map< std::string, JsonValue > JsonObject
Alias for a JSON object, mapping strings to JSON values.
Definition: fims_json.hpp:15
-
JsonValueType
Represents different types of JSON values.
Definition: fims_json.hpp:21
-
@ Bool
Boolean JSON value.
Definition: fims_json.hpp:25
-
@ Object
JSON object.
Definition: fims_json.hpp:26
-
@ Null
Null JSON value.
Definition: fims_json.hpp:22
-
@ String
String JSON value.
Definition: fims_json.hpp:24
-
@ Array
JSON array.
Definition: fims_json.hpp:27
-
@ Number
Numeric JSON value.
Definition: fims_json.hpp:23
+
262  position++; // Skip the ':'
+
263  SkipWhitespace();
+
264  JsonValue value = ParseValue();
+
265  obj[key] = value;
+
266 
+
267  SkipWhitespace();
+
268  if (data[position] == ',') {
+
269  position++;
+
270  }
+
271  }
+
272 
+
273  position++; // Skip the trailing '}'
+
274  return JsonValue(obj);
+
275 }
+
276 
+
281 JsonValue JsonParser::ParseArray() {
+
282  JsonArray arr;
+
283  position++; // Skip the initial '['
+
284 
+
285  while (data[position] != ']') {
+
286  SkipWhitespace();
+
287  JsonValue value = ParseValue();
+
288  arr.push_back(value);
+
289 
+
290  SkipWhitespace();
+
291  if (data[position] == ',') {
+
292  position++;
+
293  }
+
294  }
+
295 
+
296  position++; // Skip the trailing ']'
+
297  return JsonValue(arr);
+
298 }
+
299 
+
305 void JsonParser::WriteToFile(const std::string& filename, JsonValue jsonValue) {
+
306  std::ofstream outputFile(filename);
+
307  if (!outputFile) {
+
308  std::cerr << "Error: Unable to open file " << filename << " for writing."
+
309  << std::endl;
+
310  return;
+
311  }
+
312 
+
314  WriteJsonValue(outputFile, jsonValue);
+
315 }
+
316 
+
323 void JsonParser::WriteJsonValue(std::ofstream& outputFile,
+
324  JsonValue jsonValue) {
+
325  switch (jsonValue.GetType()) {
+
326  case JsonValueType::Null:
+
327  outputFile << "null";
+
328  break;
+ +
330  outputFile << jsonValue.GetDouble();
+
331  break;
+ +
333  outputFile << "\"" << jsonValue.GetString() << "\"";
+
334  break;
+
335  case JsonValueType::Bool:
+
336  outputFile << (jsonValue.GetBool() ? "true" : "false");
+
337  break;
+
338  case JsonValueType::Object: {
+
339  JsonObject& obj = jsonValue.GetObject();
+
340  outputFile << "{";
+
341  bool first = true;
+
342  for (const auto& pair : obj) {
+
343  if (!first) {
+
344  outputFile << ",";
+
345  }
+
346  first = false;
+
347  outputFile << "\"" << pair.first << "\":";
+
348  WriteJsonValue(outputFile, pair.second);
+
349  }
+
350  outputFile << "}";
+
351  } break;
+
352  case JsonValueType::Array: {
+
353  JsonArray& arr = jsonValue.GetArray();
+
354  outputFile << "[";
+
355  bool first = true;
+
356  for (const auto& value : arr) {
+
357  if (!first) {
+
358  outputFile << ",";
+
359  }
+
360  first = false;
+
361  WriteJsonValue(outputFile, value);
+
362  }
+
363  outputFile << "]";
+
364  } break;
+
365  }
+
366 }
+
367 
+
372 void JsonParser::Show(JsonValue jsonValue) {
+
373  this->PrintJsonValue(std::cout, jsonValue);
+
374  std::cout << std::endl;
+
375 }
+
376 
+
382 void JsonParser::PrintJsonValue(std::ostream& output, JsonValue jsonValue) {
+
383  switch (jsonValue.GetType()) {
+
384  case JsonValueType::Null:
+
385  output << "null";
+
386  break;
+ +
388  output << jsonValue.GetDouble();
+
389  break;
+ +
391  output << "\"" << jsonValue.GetString() << "\"";
+
392  break;
+
393  case JsonValueType::Bool:
+
394  output << (jsonValue.GetBool() ? "true" : "false");
+
395  break;
+
396  case JsonValueType::Object: {
+
397  JsonObject& obj = jsonValue.GetObject();
+
398  output << "{";
+
399  bool first = true;
+
400  for (const auto& pair : obj) {
+
401  if (!first) {
+
402  output << ",";
+
403  }
+
404  first = false;
+
405  output << "\"" << pair.first << "\":";
+
406  PrintJsonValue(output, pair.second);
+
407  }
+
408  output << "}";
+
409  } break;
+
410  case JsonValueType::Array: {
+
411  JsonArray& arr = jsonValue.GetArray();
+
412  output << "[";
+
413  bool first = true;
+
414  for (const auto& value : arr) {
+
415  if (!first) {
+
416  output << ",";
+
417  }
+
418  first = false;
+
419  PrintJsonValue(output, value);
+
420  }
+
421  output << "]";
+
422  } break;
+
423  }
+
424 }
+
Definition: fims_json.hpp:97
+
JsonValue Parse(const std::string &json)
Definition: fims_json.hpp:141
+
void Show(JsonValue jsonValue)
Definition: fims_json.hpp:372
+
void WriteToFile(const std::string &filename, JsonValue jsonValue)
Definition: fims_json.hpp:305
+
Definition: fims_json.hpp:41
+
double GetDouble() const
Definition: fims_json.hpp:71
+
JsonValue(double num)
Definition: fims_json.hpp:50
+
JsonValueType GetType() const
Definition: fims_json.hpp:65
+
JsonValue(int num)
Definition: fims_json.hpp:47
+
bool GetBool() const
Definition: fims_json.hpp:77
+
JsonValue(bool b)
Definition: fims_json.hpp:56
+
JsonObject & GetObject()
Definition: fims_json.hpp:80
+
JsonArray & GetArray()
Definition: fims_json.hpp:83
+
JsonValue()
Definition: fims_json.hpp:44
+
int GetInt() const
Definition: fims_json.hpp:68
+
const std::string & GetString() const
Definition: fims_json.hpp:74
+
JsonValue(const JsonObject &obj)
Definition: fims_json.hpp:59
+
JsonValue(const JsonArray &arr)
Definition: fims_json.hpp:62
+
JsonValue(const std::string &str)
Definition: fims_json.hpp:53
+
std::vector< JsonValue > JsonArray
Definition: fims_json.hpp:24
+
std::map< std::string, JsonValue > JsonObject
Definition: fims_json.hpp:19
+
JsonValueType
Definition: fims_json.hpp:29
+
@ Bool
Definition: fims_json.hpp:33
+
@ Object
Definition: fims_json.hpp:34
+
@ Null
Definition: fims_json.hpp:30
+
@ String
Definition: fims_json.hpp:32
+
@ Array
Definition: fims_json.hpp:35
+
@ Number
Definition: fims_json.hpp:31
 CDoubleLogisticSelectivityInterfaceRcpp interface for logistic selectivity as an S4 object. To instantiate from R: logistic_selectivity <- new(fims$logistic_selectivity)
 CLogisticSelectivityInterfaceRcpp interface for logistic selectivity as an S4 object. To instantiate from R: logistic_selectivity <- new(fims$logistic_selectivity)
 Cfims_info::Information< Type >Stores FIMS model information and creates model. Contains all objects and data pre-model construction
 CJsonParserParses JSON strings and generates JSON values
 CJsonValueRepresents a JSON value
 CJsonParser
 CJsonValue
 Cfims_model::Model< Type >Model class. FIMS objective function
 CParameterRcppInterface class that defines the interface between R and C++ for parameter types
 Cfims_popdy::Subpopulation< Type >
std::vector< Type > expected_recruitment
 
int recruitment_id = -999
 recruitment More...
 
std::shared_ptr< RecruitmentBase< Type > > recruitment