Legofit
infers population history from nucleotide site patterns.
mctree.h
1#ifndef ARR_MCTREE_H
2# define ARR_MCTREE_H
3
4# include "typedefs.h"
5# include <stdio.h>
6# include <gsl/gsl_rng.h>
7
8void *MCTree_dup(const void *old);
9int MCTree_equals(const MCTree * lhs, const MCTree * rhs);
10int MCTree_feasible(const void * vself, int verbose);
11void MCTree_free(void *self);
12LblNdx MCTree_getLblNdx(void *self);
13const char *MCTree_getNameFree(void * self, int i);
14void MCTree_getParams(void *self, int n, double x[n]);
15void *MCTree_new(const char *fname, Bounds bnd);
16unsigned MCTree_nsamples(const void *vself);
17int MCTree_nFree(const void *self);
18void MCTree_brlen(void * vself, BranchTab * branchtab, gsl_rng * rng,
19 unsigned long nreps, int doSing,
20 long unsigned *event_counter);
21void MCTree_print(void * vself, FILE * fp);
22void MCTree_printParStore(void * vself, FILE * fp);
23void MCTree_printParStoreFree(void *self, FILE *fp);
24void MCTree_randomize(void *self, gsl_rng *rng);
25void MCTree_sanityCheck(void * vself, const char *file, int line);
26int MCTree_setParams(void *self, int n, double x[n]);
27void MCTree_initStateVec(void *gpt, int ndx, int n, double x[n],
28 gsl_rng *rng);
29const char *MCTree_getNameFree(void * self, int i);
30void MCTree_getParams(void * self, int n, double x[n]);
31int MCTree_nFree(const void * self);
32int MCTree_setParams(void * vself, int n, double x[n]);
33void MCTree_initStateVec(void *self, int ndx, int n, double x[n],
34 gsl_rng *rng);
35unsigned MCTree_nSamples(void *vself);
36#endif
Definition: parstore.h:10
Definition: branchtab.c:20
Definition: lblndx.h:8
MCTree stands for Gene-Population tree.
Definition: mctree.c:33