bppphyl
2.3.0

Compute a parsimony score. More...
#include <Bpp/Phyl/Parsimony/TreeParsimonyScore.h>
Public Member Functions  
TreeParsimonyScore ()  
virtual  ~TreeParsimonyScore () 
TreeParsimonyScore *  clone () const =0 
virtual unsigned int  getScore () const =0 
Get the score for the current tree, i.e. the total minimum number of changes in the tree. More...  
virtual unsigned int  getScoreForSite (size_t site) const =0 
Get the score for a given site for the current tree, i.e. the total minimum number of changes in the tree for this site. More...  
virtual std::vector< unsigned int >  getScoreForEachSite () const =0 
Get the score for each site for the current tree, i.e. the total minimum number of changes in the tree for each site. More...  
virtual const Tree &  getTree () const =0 
Get the tree for wich scores are computed. More...  
Compute a parsimony score.
Definition at line 55 of file TreeParsimonyScore.h.

inline 
Definition at line 59 of file TreeParsimonyScore.h.

inlinevirtual 
Definition at line 60 of file TreeParsimonyScore.h.
References clone(), getScore(), getScoreForEachSite(), getScoreForSite(), and getTree().

pure virtual 
Implements bpp::Clonable.
Implemented in bpp::DRTreeParsimonyScore.
Referenced by ~TreeParsimonyScore().

pure virtual 
Get the score for the current tree, i.e. the total minimum number of changes in the tree.
Implemented in bpp::DRTreeParsimonyScore.
Referenced by ~TreeParsimonyScore().

pure virtual 
Get the score for each site for the current tree, i.e. the total minimum number of changes in the tree for each site.
Implemented in bpp::AbstractTreeParsimonyScore.
Referenced by ~TreeParsimonyScore().

pure virtual 
Get the score for a given site for the current tree, i.e. the total minimum number of changes in the tree for this site.
site  The corresponding site. 
Implemented in bpp::DRTreeParsimonyScore.
Referenced by ~TreeParsimonyScore().

pure virtual 
Get the tree for wich scores are computed.
Implemented in bpp::AbstractTreeParsimonyScore.
Referenced by ~TreeParsimonyScore().