41 #ifndef _TREELIKELIHOODDATA_H_ 42 #define _TREELIKELIHOODDATA_H_ 45 #include "../TreeTemplate.h" 48 #include <Bpp/Seq/Alphabet/Alphabet.h> 49 #include <Bpp/Seq/Container/SiteContainer.h> 62 public virtual Clonable
68 #ifndef NO_VIRTUAL_COV 103 public virtual Clonable
109 #ifndef NO_VIRTUAL_COV 116 virtual size_t getArrayPosition(
int parentId,
int sonId,
size_t currentPosition)
const = 0;
139 virtual unsigned int getWeight(
size_t pos)
const = 0;
144 virtual const std::vector<unsigned int>&
getWeights()
const = 0;
150 #endif //_TREELIKELIHOODDATA_H_ TreeLikelihoodData * clone() const =0
virtual void setNode(const Node *node)=0
Set the node associated to this data.
virtual TreeLikelihoodNodeData & getNodeData(int nodeId)=0
virtual size_t getRootArrayPosition(size_t site) const =0
virtual size_t getNumberOfStates() const =0
TreeLikelihood data structure.
virtual ~TreeLikelihoodData()
virtual const std::vector< unsigned int > & getWeights() const =0
The phylogenetic tree class.
virtual const TreeTemplate< Node > * getTree() const =0
virtual const Node * getNode() const =0
Get the node associated to this data structure.
virtual ~TreeLikelihoodNodeData()
virtual unsigned int getWeight(size_t pos) const =0
TreeLikelihoodNodeData * clone() const =0
virtual size_t getNumberOfDistinctSites() const =0
The phylogenetic node class.
virtual size_t getNumberOfSites() const =0
TreeLikelihood partial data structure.
virtual size_t getArrayPosition(int parentId, int sonId, size_t currentPosition) const =0
virtual const Alphabet * getAlphabet() const =0