bpp-phyl  2.4.0
bpp::TreeLikelihoodNodeData Class Referenceabstract

TreeLikelihood partial data structure. More...

#include <Bpp/Phyl/Likelihood/TreeLikelihoodData.h>

+ Inheritance diagram for bpp::TreeLikelihoodNodeData:
+ Collaboration diagram for bpp::TreeLikelihoodNodeData:

Public Member Functions

 TreeLikelihoodNodeData ()
 
virtual ~TreeLikelihoodNodeData ()
 
TreeLikelihoodNodeDataclone () 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

TreeLikelihood partial data structure.

Stores inner computation for a given node.

See also
TreeLikelihoodData

Definition at line 61 of file TreeLikelihoodData.h.

Constructor & Destructor Documentation

bpp::TreeLikelihoodNodeData::TreeLikelihoodNodeData ( )
inline

Definition at line 65 of file TreeLikelihoodData.h.

virtual bpp::TreeLikelihoodNodeData::~TreeLikelihoodNodeData ( )
inlinevirtual

Definition at line 66 of file TreeLikelihoodData.h.

References clone(), getNode(), and setNode().

Member Function Documentation

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

Get the node associated to this data structure.

Returns
The node associated to this structure.

Implemented in bpp::DRASDRTreeLikelihoodNodeData, bpp::DRASRTreeLikelihoodNodeData, and bpp::DRASDRTreeLikelihoodLeafData.

Referenced by ~TreeLikelihoodNodeData().

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

Set the node associated to this data.

A pointer toward this node will be created and associated to this data.

Parameters
nodeThe node to be associated to this data.

Implemented in bpp::DRASDRTreeLikelihoodNodeData, bpp::DRASRTreeLikelihoodNodeData, and bpp::DRASDRTreeLikelihoodLeafData.

Referenced by ~TreeLikelihoodNodeData().


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