Augustus 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Treenode Class Reference

Public Member Functions

 Treenode (std::string s="", double t=0.0, int i=-1, Treenode *p=NULL)
 
void addDistance (double dist)
 
void addSpecies (string s)
 
void addChild (Treenode *child)
 
void removeChild (Treenode *child)
 
void makeRoot ()
 
bool isLeaf () const
 
bool isRoot () const
 
void setTable (int pos, double value)
 
double getTable (int pos) const
 
double getDist () const
 
int getIdx () const
 
void setIdx (int i)
 
gsl_matrix * getLogP () const
 
void setLogP (gsl_matrix *m)
 
void resizeTable (int size, double val=0)
 
std::string getSpecies () const
 
TreenodegetParent () const
 
void printNode () const
 

Friends

class PhyloTree
 

The documentation for this class was generated from the following files: