43 std::string t = tab +
" ";
44 std::string p = tab +
"parameter:\n"
58 std::string s = tab +
"state:\n"
79 if (m !=
n)
err(
"wrong number of parameters!");
90 if (m !=
n)
err(
"wrong number of initial-value parameters!");
107 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 sample(name_t i=0, int n=1)
sample 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
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)
master_t< strains_proc_t, 3 > strains_genealogy_t
popul_proc_t< strains_state_t, strains_parameters_t, 10 > strains_proc_t
Strains process parameters.