5 #ifndef BPP_PHYL_PARSIMONY_TREEPARSIMONYSCORE_H
6 #define BPP_PHYL_PARSIMONY_TREEPARSIMONYSCORE_H
10 #include "../Tree/TreeTemplate.h"
71 virtual std::shared_ptr<const StateMapInterface>
getStateMap()
const = 0;
Map the states of a given alphabet which have a model state.
Compute a parsimony score.
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 ~TreeParsimonyScoreInterface()
TreeParsimonyScoreInterface * clone() const =0
TreeParsimonyScoreInterface()
virtual std::vector< unsigned int > getScorePerSite() const =0
Get the score for each site for the current tree, i.e. the total minimum number of changes in the tre...
virtual std::shared_ptr< const StateMapInterface > getStateMap() const =0
Get the state map associated to this instance.
virtual const Tree & tree() const =0
Get the tree for which scores are computed.
virtual const StateMapInterface & stateMap() const =0
Get the state map associated to this instance.
virtual unsigned int getScore() const =0
Get the score for the current tree, i.e. the total minimum number of changes in the tree.
Interface for phylogenetic tree objects.
Defines the basic types of data flow nodes.