42 std::string t = tab +
" ";
43 std::string p = tab +
"parameter:\n"
56 std::string s = tab +
"state:\n"
76 if (m !=
n)
err(
"wrong number of parameters!");
87 if (m !=
n)
err(
"wrong number of initial-value parameters!");
103 if (m !=
n)
err(
"wrong number of events!");
Encodes the master process.
void birth(name_t i=0, name_t j=0, int n=1)
n births into deme j with parent in deme i
void death(name_t i=0)
death in deme i
void graft(name_t i=0, int m=1)
new root in deme i
void sample_death(name_t i=0, int n=1)
sample_death in deme i
Population process class.
double event_rates(double *rate, int n) const
void update_params(double *, int)
std::string yaml(std::string tab) const
void update_IVPs(double *, int)
#define GENERICS(X, TYPE)
popul_proc_t< strains_state_t, strains_parameters_t, 9 > strains_proc_t
master_t< strains_proc_t, 3 > strains_genealogy_t
Strains process parameters.