5 #ifndef BPP_PHYL_PARSIMONY_TREEPARSIMONYDATA_H
6 #define BPP_PHYL_PARSIMONY_TREEPARSIMONYDATA_H
10 #include "../Tree/Node.h"
11 #include "../Tree/TreeTemplate.h"
67 virtual std::shared_ptr<const TreeTemplate<Node>>
getTree()
const = 0;
68 virtual size_t getArrayPosition(
int parentId,
int sonId,
size_t currentPosition)
const = 0;
The phylogenetic node class.
TreeParsimonyScore data structure.
virtual size_t getRootArrayPosition(size_t site) const =0
virtual std::shared_ptr< const TreeTemplate< Node > > getTree() const =0
virtual TreeParsimonyNodeDataInterface & nodeData(int nodeId)=0
virtual size_t getArrayPosition(int parentId, int sonId, size_t currentPosition) const =0
TreeParsimonyDataInterface * clone() const override=0
virtual const TreeTemplate< Node > & tree() const =0
virtual ~TreeParsimonyDataInterface()
virtual const TreeParsimonyNodeDataInterface & nodeData(int nodeId) const =0
TreeParsimonyDataInterface()
TreeParsimonyScore node data structure.
virtual ~TreeParsimonyNodeDataInterface()
TreeParsimonyNodeDataInterface()
virtual void setNode(const Node *node)=0
Set the node associated to this data.
virtual const Node * getNode() const =0
Get the node associated to this data structure.
TreeParsimonyNodeDataInterface * clone() const =0
The phylogenetic tree class.
Defines the basic types of data flow nodes.