40 #ifndef _TREEPARSIMONYSCORE_H_ 41 #define _TREEPARSIMONYSCORE_H_ 43 #include "../TreeTemplate.h" 45 #include <Bpp/Clonable.h> 56 public virtual Clonable
62 #if defined(NO_VIRTUAL_COV) 63 Clonable*
clone()
const = 0;
74 virtual unsigned int getScore()
const = 0;
100 #endif // _TREEPARSIMONYSCORE_H_ Compute a parsimony score.
virtual unsigned int getScore() const =0
Get the score for the current tree, i.e. the total minimum number of changes in the tree...
TreeParsimonyScore * clone() const =0
Interface for phylogenetic tree objects.
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 ...
virtual ~TreeParsimonyScore()
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 tre...
virtual const Tree & getTree() const =0
Get the tree for wich scores are computed.