bpp-phyl3  3.0.0
bpp::TreeParsimonyNodeDataInterface Class Referenceabstract

TreeParsimonyScore node data structure. More...

#include <Bpp/Phyl/Parsimony/TreeParsimonyData.h>

+ Inheritance diagram for bpp::TreeParsimonyNodeDataInterface:
+ Collaboration diagram for bpp::TreeParsimonyNodeDataInterface:

Public Member Functions

 TreeParsimonyNodeDataInterface ()
 
virtual ~TreeParsimonyNodeDataInterface ()
 
TreeParsimonyNodeDataInterfaceclone () const =0
 
virtual const NodegetNode () const =0
 Get the node associated to this data structure. More...
 
virtual void setNode (const Node *node)=0
 Set the node associated to this data. More...
 

Detailed Description

TreeParsimonyScore node data structure.

Stores inner computation for a given node.

See also
TreeParsimonyData

Definition at line 22 of file TreeParsimonyData.h.

Constructor & Destructor Documentation

◆ TreeParsimonyNodeDataInterface()

bpp::TreeParsimonyNodeDataInterface::TreeParsimonyNodeDataInterface ( )
inline

Definition at line 26 of file TreeParsimonyData.h.

◆ ~TreeParsimonyNodeDataInterface()

virtual bpp::TreeParsimonyNodeDataInterface::~TreeParsimonyNodeDataInterface ( )
inlinevirtual

Definition at line 27 of file TreeParsimonyData.h.

Member Function Documentation

◆ clone()

TreeParsimonyNodeDataInterface* bpp::TreeParsimonyNodeDataInterface::clone ( ) const
pure virtual

◆ getNode()

virtual const Node* bpp::TreeParsimonyNodeDataInterface::getNode ( ) const
pure virtual

Get the node associated to this data structure.

Returns
The node associated to this structure.

Implemented in bpp::DRTreeParsimonyLeafData, and bpp::DRTreeParsimonyNodeData.

◆ setNode()

virtual void bpp::TreeParsimonyNodeDataInterface::setNode ( const Node node)
pure virtual

Set the node associated to this data.

Parameters
nodeA pointer toward the node to be associated to this data.

Implemented in bpp::DRTreeParsimonyLeafData, and bpp::DRTreeParsimonyNodeData.


The documentation for this class was generated from the following file: