27 std::string t = tab +
" ";
28 std::string p = tab +
"parameter:\n"
32 std::string s = tab +
"state:\n"
43 if (m !=
n)
err(
"wrong number of parameters!");
50 if (m !=
n)
err(
"wrong number of initial-value parameters!");
59 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< moran_proc_t, 1 > moran_genealogy_t
popul_proc_t< moran_state_t, moran_parameters_t, 2 > moran_proc_t
Moran process parameters.