44 int getM(){
return M;}
45 void writeRateMatrices(
string filename);
46 void readMatrices(MatrixFormat fmt = fmt_TXT);
48 void computeLogPmatrices();
54 gsl_matrix *getSubMatrixLogP(
double omega,
double t);
61 double subLogProb(
int from,
int to,
double omega,
double t){
62 gsl_matrix *P = getSubMatrixLogP(omega, t);
63 return gsl_matrix_get(P, from, to);
69 double logLik(
const char *e1,
const char *e2,
int u,
double t);
72 vector<double> loglikForCodonTuple(vector<string> &seqtuple,
PhyloTree *ctree){
74 return loglikForCodonTuple(seqtuple, ctree, NULL, dummysubs);
83 vector<double> loglikForCodonTuple(vector<string> &seqtuple,
PhyloTree *ctree,
PhyloTree *tree,
int &subs);
88 void addBranchLength(
double b){}
90 void produceComb(vector<vector<int> >& config){}
91 double getProb(
const vector<double> &lls);
95 vector<double*> piArr;