List of available options. Tables are at the bottom of the page. See Population::run() to track the simulation process.
More...
|
See https://github.com/heavywatal/tekka/blob/master/util/parameters.json for the default values.
|
|
using | pbf::Parameters::RowMatrix = std::vector<std::vector<double>> |
| | Alias for readability.
|
|
std::vector< double > | pbf::Parameters::natural_mortality {} |
| | Array of \(M\) for quarter age: instantaneous mortality due to natural causes.
|
|
std::vector< double > | pbf::Parameters::fishing_mortality {} |
| | Array of \(F\) for quarter age: instantaneous mortality due to fishing activities.
|
|
std::vector< double > | pbf::Parameters::fishing_coef {} |
| | Array of \(e\) by year: coefficient of fishing mortality. The last element is used for the last years if its length differs from years.
|
|
std::vector< double > | pbf::Parameters::weight_for_age {} |
| | Weight in kg for quarter age.
|
|
std::vector< RowMatrix > | pbf::Parameters::migration_matrices {} |
| | Transition matrix for Population::migrate()
|
|
|
int32_t | pbf::Parameters::seed {0} |
| | RNG seed. Initialized with std::random_device if 0 (default). 32-bit signed integer for R.
|
|
std::string | pbf::Parameters::outdir {} |
| | Output directory.
|
|
int_fast32_t | pbf::Parameters::years {80} |
| | Duration of simulation.
|
|
int_fast32_t | pbf::Parameters::origin {0} |
| | Initial number of juveniles at location 0 in season 0 in year 0. It falls back to \(\operatorname{med}(R)\) or \(K\) if 0.
|
|
|
double | pbf::Parameters::med_recruitment {0.0} |
| | \(\operatorname{med}(R) = \exp(\mu_{R})\) for lognormal distribution
|
|
double | pbf::Parameters::sigma_recruitment {1.0} |
| | \(\sigma_{R}\) for lognormal distribution
|
|
double | pbf::Parameters::carrying_capacity {2e3} |
| | \(K\): carrying capacity used in Population::reproduce()
|
|
double | pbf::Parameters::recruitment {2.0} |
| | \(r\): coefficient used in Population::reproduce()
|
|
double | pbf::Parameters::overdispersion {-1.0} |
| | \(k \in (0, \infty)\) for overdispersion in Population::reproduce(). Equivalent to Poisson when \(k \to \infty\) (or \(k<0\) for convience).
|
|
|
int_fast32_t | pbf::Parameters::last {3} |
| | Sample last _ years.
|
|
std::vector< int_fast32_t > | pbf::Parameters::sample_size_adult {10, 10} |
| | per location
|
|
std::vector< int_fast32_t > | pbf::Parameters::sample_size_juvenile {10, 10} |
| | per location
|
List of available options. Tables are at the bottom of the page. See Population::run() to track the simulation process.
The longer ones can be used as keys in JSON config file, e.g., {"years": 80} for -y,--years option.
◆ general_options()
| clipp::group pbf::general_options |
( |
nlohmann::json * | vm | ) |
|
|
inline |
Options description for general purpose.
| Command line option | Description |
| -h,--help | Print help |
| --version | Print version |
| --json | Print default values for large parameters |
| --default | Print default values for all parameters |
| -i,--infile | Config file in json format |
| -v,--verbose | Verbose output |
◆ program_options()
| clipp::group pbf::program_options |
( |
Parameters & | params | ) |
|
|
inline |
Global options for simulation.
◆ reproduction_options()
| clipp::group pbf::reproduction_options |
( |
Parameters & | params | ) |
|
|
inline |
◆ sampling_options()
| clipp::group pbf::sampling_options |
( |
Parameters & | params | ) |
|
|
inline |
Options for Population::sample.