Augustus 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
PhyloTree Class Reference

Public Member Functions

 PhyloTree (std::string filename)
 
 PhyloTree (const std::vector< std::string > &speciesnames, double b=1)
 
 PhyloTree (const PhyloTree &other)
 
void getBranchLengths (std::vector< double > &branchset) const
 
void scaleTree (double factor)
 
double getDiversity ()
 
void getSpeciesNames (std::vector< std::string > &speciesnames)
 
int numSpecies ()
 
TreenodegetLeaf (std::string species) const
 
void printTree () const
 
void printNewick (std::string filename) const
 
void recursiveNWK (std::ofstream &file, Treenode *node) const
 
void drop (std::string species)
 
void drop (Treenode *node, Evo *evo)
 
void collapse (Treenode *node, Evo *evo)
 
void prune (bit_vector &bv, Evo *evo)
 
double pruningAlgor (std::string labelpattern, Evo *evo, int u=0)
 
double pruningAlgor (std::vector< int > &tuple, Evo *evo, int u=0)
 
void printRecursionTable () const
 
double MAP (std::vector< int > &labels, std::vector< double > &weights, Evo *evo, bool fixLeafLabels=false)
 
void MAPbacktrack (std::vector< int > &labels, Treenode *root, int bestAssign, bool fixLeafLabels)
 
int fitch (vector< int > &labels, int states=64)
 

Static Public Attributes

static double phylo_factor =1
 

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