|
bpp-phyl3 3.0.0
|
Compute a parsimony score. More...
#include <Bpp/Phyl/Parsimony/TreeParsimonyScore.h>
Inheritance diagram for bpp::TreeParsimonyScoreInterface:
Collaboration diagram for bpp::TreeParsimonyScoreInterface:Public Member Functions | |
| TreeParsimonyScoreInterface () | |
| virtual | ~TreeParsimonyScoreInterface () |
| TreeParsimonyScoreInterface * | 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 > | getScorePerSite () 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 & | tree () const =0 |
| Get the tree for which scores are computed. More... | |
| virtual const StateMapInterface & | stateMap () const =0 |
| Get the state map associated to this instance. More... | |
| virtual std::shared_ptr< const StateMapInterface > | getStateMap () const =0 |
| Get the state map associated to this instance. More... | |
Compute a parsimony score.
Definition at line 20 of file TreeParsimonyScore.h.
|
inline |
Definition at line 24 of file TreeParsimonyScore.h.
|
inlinevirtual |
Definition at line 25 of file TreeParsimonyScore.h.
|
pure virtual |
Implements bpp::Clonable.
Implemented in bpp::DRTreeParsimonyScore.
|
pure virtual |
Get the score for the current tree, i.e. the total minimum number of changes in the tree.
Implemented in bpp::DRTreeParsimonyScore.
|
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 bpp::AbstractTreeParsimonyScore::getScorePerSite().
|
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.
|
pure virtual |
Get the state map associated to this instance.
Implemented in bpp::AbstractTreeParsimonyScore.
|
pure virtual |
Get the state map associated to this instance.
Implemented in bpp::AbstractTreeParsimonyScore.
|
pure virtual |
Get the tree for which scores are computed.
Implemented in bpp::AbstractTreeParsimonyScore.