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 @@
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 *
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... | |
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.
Public Member Functions | |
RecruitmentInterfaceBase () | |
virtual uint32_t | get_id ()=0 |
get the ID of the interface base object |
RecruitmentInterfaceBase class should be inherited to define different Rcpp interfaces for each possible Recruitment function.
-
-
|
- -inline | -
static bool constrain_deviations; /**< whether or not the rec devs are constrained*/
- -Recruitment Rcpp interface
+SelectivityInterfaceBase class should be inherited to define different Rcpp interfaces for each possible Selectivity function.
+Selectivity Rcpp interface
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... | |
A simple JSON parsing and generation library.
This library provides classes and functions for parsing JSON strings and generating JSON data structures.
-Alias for a JSON array, containing a sequence of JSON values.
+ +using JsonObject = std::map<std::string, JsonValue> | +
Alias for a JSON object, mapping strings to JSON values.
+ +Represents different types of JSON values.
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.
-
-
-
-
-
-
-
+Go to the documentation of this file.
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- 28 };
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 36 };
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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 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 JsonValue(bool b) Constructor for boolean JSON value. Definition: fims_json.hpp:46 JsonValue() Default constructor, initializes to Null value. Definition: fims_json.hpp:34 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 Definition: fims_json.hpp:97 void WriteToFile(const std::string &filename, JsonValue jsonValue) Definition: fims_json.hpp:305 Definition: fims_json.hpp:41 diff --git a/docs/functions_func.html b/docs/functions_func.html index e456b4c..a5da32c 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -359,9 +359,6 @@ - r -
- r - CDoubleLogisticSelectivityInterface | Rcpp interface for logistic selectivity as an S4 object. To instantiate from R: logistic_selectivity <- new(fims$logistic_selectivity) | CLogisticSelectivityInterface | Rcpp 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 | CJsonParser | Parses JSON strings and generates JSON values | CJsonValue | Represents a JSON value | CJsonParser | CJsonValue | Cfims_model::Model< Type > | Model class. FIMS objective function | CParameter | RcppInterface class that defines the interface between R and C++ for parameter types | Cfims_popdy::Subpopulation< Type > | std::vector< Type > spawning_biomass Definition: population.hpp:76 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 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 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 static std::map< uint32_t, DataInterfaceBase * > live_objects Definition: rcpp_data.hpp:27 static std::map< uint32_t, DistributionsInterfaceBase * > live_objects Definition: rcpp_tmb_distribution.hpp:26 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 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 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 virtual double evaluate(double spawners, double ssbzero)=0 evaluate method for child recruitment interface objects to inherit RecruitmentInterfaceBase() Definition: rcpp_recruitment.hpp:36 static std::shared_ptr< Information< Type > > GetInstance() Definition: information.hpp:125 std::vector< Type > | expected_recruitment | | int | recruitment_id = -999 | | recruitment More... | | std::shared_ptr< RecruitmentBase< Type > > | recruitment | |
-
- |