12 A.
curtail(*REAL(AS_NUMERIC(Time)));
15 SET_ATTR(out,install(
"class"),mkString(
"gpgen"));
23 return mkString(A.
yaml().c_str());
SEXP yaml(SEXP State)
extract a YAML description
SEXP gendat(SEXP State)
data-frame format
SEXP curtail(SEXP State, SEXP Time)
curtail the given genealogy
virtual std::string yaml(std::string tab="") const
machine-readable info
genealogy_t & prune(void)
prune the tree (drop all black balls)
genealogy_t & obscure(void)
erase all deme information
void gendat(double *tout, int *anc, int *lin, int *sat, int *type, int *index, int *child) const
nodelist in data-frame format
void curtail(slate_t tnew)
void trace_lineages(void)
SEXP serial(const TYPE &X)
binary serialization