5#ifndef BPP_PHYL_LEGACY_LIKELIHOOD_ABSTRACTTREELIKELIHOODDATA_H
6#define BPP_PHYL_LEGACY_LIKELIHOOD_ABSTRACTTREELIKELIHOODDATA_H
57 std::shared_ptr<const TreeTemplate<Node>>
tree_;
102 std::shared_ptr< const TreeTemplate<Node>>
getTree()
const {
return tree_; }
Partial implementation of the TreeLikelihoodData interface.
const std::vector< size_t > & getRootArrayPositions() const
AbstractTreeLikelihoodData & operator=(const AbstractTreeLikelihoodData &atd)
AbstractTreeLikelihoodData(std::shared_ptr< const TreeTemplate< Node > > tree)
std::vector< size_t > rootPatternLinks_
Links between sites and patterns.
std::shared_ptr< const Alphabet > alphabet_
const std::vector< unsigned int > & getWeights() const
std::vector< size_t > & getRootArrayPositions()
unsigned int getWeight(size_t pos) const
AbstractTreeLikelihoodData(const AbstractTreeLikelihoodData &atd)
std::vector< unsigned int > rootWeights_
The frequency of each site.
std::shared_ptr< const TreeTemplate< Node > > tree_
std::shared_ptr< const TreeTemplate< Node > > getTree() const
std::shared_ptr< const Alphabet > getAlphabet() const
size_t getRootArrayPosition(const size_t site) const
virtual ~AbstractTreeLikelihoodData()
TreeLikelihood data structure.
The phylogenetic tree class.
Defines the basic types of data flow nodes.