Evolutionary Diversification in Anolis Lizards
Classes | Functions | Variables
Biological parameters

Classes

struct  edal::IndividualParams
 Parameters for Individual class. More...
 

Functions

clipp::group edal::general_options (nlohmann::json *vm)
 
clipp::group edal::individual_options (nlohmann::json *vm, IndividualParams *p)
 Symbols for the program options can be different from those in equations. More...
 

Variables

double edal::IndividualParams::BETA_PARAM = 3.0
 \( \alpha \) of Beta distribution in \( F(u,v) \)
 
size_t edal::IndividualParams::CARRYING_CAPACITY = 1000u
 \( K_{\max} \) in \( K_e(I)\)
 
double edal::IndividualParams::AVG_NUM_OFFSPINRGS = 4.0
 \( b \) in \( w(I) \)
 
double edal::IndividualParams::HEIGHT_PREFERENCE = 2.0
 \( h_0 \) in \( \Xi(y_0,y_1 \mid u,v) \)
 
double edal::IndividualParams::DIAMETER_PREFERENCE = 2.0
 \( h_1 \) in \( \Xi(y_0,y_1 \mid u,v) \)
 
double edal::IndividualParams::TOEPAD_SELECTION = 2.0
 \( s_0 \) in \( W(x_0,x_1 \mid u,v) \)
 
double edal::IndividualParams::LIMB_SELECTION = 2.0
 \( s_1\) in \( W(x_0,x_1 \mid u,v) \)
 
double edal::IndividualParams::PREF_COMPETITION = 2.0
 \(c_y\) in \(C_y(I,J)\)
 
double edal::IndividualParams::MORPH_COMPETITION = 2.0
 \(c_x\) in \(C_x(I,J)\)
 
double edal::IndividualParams::MATING_SIGMA = 0.05
 \( \sigma_a \) in \( \psi(f,c \mid m) \)
 
double edal::IndividualParams::MU_LOCUS = 1e-4
 Mutation rate per locus per generation. More...
 
unsigned long edal::IndividualParams::MUTATION_MASK = 0
 Flag set to protect specific traits from mutations. More...
 
double edal::IndividualParams::MIGRATION_RATE = 0.005
 Migration rate \(m\) (i.e., \(Nm\) makes the expected # of migrants)
 
static constexpr double edal::IndividualParams::NORMAL_SIGMA = 0.3
 \( \sigma \) of Normal distribution in v2 \( F(u,v) \)
 
static constexpr double edal::IndividualParams::C0 = 1.0
 \( c_0 \) of Normal distribution in v2 \( F(u,v) \)
 
static constexpr double edal::IndividualParams::C1 = 0.5
 \( c_1 \) of Normal distribution in v2 \( F(u,v) \)
 

Detailed Description

1/////////2/////////3/////////4/////////5/////////6/////////7/////////

Function Documentation

◆ general_options()

clipp::group edal::general_options ( nlohmann::json *  vm)
inline

Options description for general purpose Symbols for the program options can be different from those in equations

Returns
Program options description
Command line option Symbol
-k,--patch_size \(K_0\)
--row,--col -
-T,--time -
-I,--interval -

◆ individual_options()

clipp::group edal::individual_options ( nlohmann::json *  vm,
IndividualParams p 
)
inline

Symbols for the program options can be different from those in equations.

Returns
Program options description
Command line option Symbol Variable
-a,--beta_param \(\alpha\) IndividualParams::BETA_PARAM
-K,--carrying_capacity \(K_{\max}\) IndividualParams::CARRYING_CAPACITY
-b,--birth_rate \(b\) IndividualParams::AVG_NUM_OFFSPINRGS
-p,--height_pref \(h_0\) IndividualParams::HEIGHT_PREFERENCE
-P,--diameter_pref \(h_1\) IndividualParams::DIAMETER_PREFERENCE
-s,--toepad_select \(s_0\) IndividualParams::TOEPAD_SELECTION
-S,--limb_select \(s_1\) IndividualParams::LIMB_SELECTION
-c,--pref_compe \(c_y\) IndividualParams::PREF_COMPETITION
-C,--morph_compe \(c_x\) IndividualParams::MORPH_COMPETITION
-f,--mating_sigma \(\sigma_a\) IndividualParams::MATING_SIGMA
-u,--mu_locus - IndividualParams::MU_LOCUS
-U,--mutation_mask - IndividualParams::MUTATION_MASK
-m,--migration_rate \(m\) IndividualParams::MIGRATION_RATE

Variable Documentation

◆ MU_LOCUS

double edal::IndividualParams::MU_LOCUS = 1e-4

Mutation rate per locus per generation.

Mutations occur at equal rates across all loci; the probabilities of forward and backward mutations are equal.

◆ MUTATION_MASK

unsigned long edal::IndividualParams::MUTATION_MASK = 0

Flag set to protect specific traits from mutations.

e.g., 10 ("00001010") blocks mutations on limb and diameter preference