7static const int deme = 1;
28 std::string t = tab +
" ";
29 std::string p = tab +
"parameter:\n"
35 std::string s = tab +
"state:\n"
47 if (m !=
n)
err(
"wrong number of parameters!");
54 if (m !=
n)
err(
"wrong number of initial-value parameters!");
65 if (m !=
n)
err(
"wrong number of events!");
Encodes the master process.
void graft(name_t i=1, int m=1)
new root in deme i
void sample(name_t i=1, int n=1)
sample in deme i
void birth(name_t i=1, name_t j=1, int n=1)
n births into deme j with parent in deme i
void sample_death(name_t i=1, int n=1)
sample_death in deme i
void death(name_t i=1)
death in deme i
Population process class.
void update_params(double *, int)
double event_rates(double *rate, int n) const
void update_IVPs(double *, int)
string_t yaml(string_t tab) const
#define GENERICS(X, TYPE)
master_t< lbdp_proc_t, 1 > lbdp_genealogy_t
popul_proc_t< lbdp_state_t, lbdp_parameters_t, 4 > lbdp_proc_t