bpp-phyl3
3.0.0
|
Likelihood data structure for a node. More...
#include <Bpp/Phyl/Legacy/Likelihood/DRASRTreeLikelihoodData.h>
Public Member Functions | |
DRASRTreeLikelihoodNodeData () | |
DRASRTreeLikelihoodNodeData (const DRASRTreeLikelihoodNodeData &data) | |
DRASRTreeLikelihoodNodeData & | operator= (const DRASRTreeLikelihoodNodeData &data) |
DRASRTreeLikelihoodNodeData * | clone () const |
const Node * | getNode () const |
Get the node associated to this data structure. More... | |
void | setNode (const Node *node) |
Set the node associated to this data. More... | |
VVVdouble & | getLikelihoodArray () |
const VVVdouble & | getLikelihoodArray () const |
VVVdouble & | getDLikelihoodArray () |
const VVVdouble & | getDLikelihoodArray () const |
VVVdouble & | getD2LikelihoodArray () |
const VVVdouble & | getD2LikelihoodArray () const |
Private Attributes | |
VVVdouble | nodeLikelihoods_ |
VVVdouble | nodeDLikelihoods_ |
VVVdouble | nodeD2Likelihoods_ |
const Node * | node_ |
Likelihood data structure for a node.
This class is for use with the DRASRTreeParsimonyData class.
Store all conditional likelihoods:
x[i][c][s] |---------> Site i |------> Rate class c |---> Ancestral state s
We call this the likelihood array for each node. In the same way, we store first and second order derivatives.
Definition at line 36 of file DRASRTreeLikelihoodData.h.
|
inline |
Definition at line 46 of file DRASRTreeLikelihoodData.h.
Referenced by clone().
|
inline |
Definition at line 48 of file DRASRTreeLikelihoodData.h.
|
inlinevirtual |
Implements bpp::TreeLikelihoodNodeData.
Definition at line 64 of file DRASRTreeLikelihoodData.h.
References DRASRTreeLikelihoodNodeData().
|
inline |
Definition at line 79 of file DRASRTreeLikelihoodData.h.
References nodeD2Likelihoods_.
Referenced by bpp::DRASRTreeLikelihoodData::initLikelihoods(), and bpp::DRASRTreeLikelihoodData::initLikelihoodsWithPatterns().
|
inline |
Definition at line 80 of file DRASRTreeLikelihoodData.h.
References nodeD2Likelihoods_.
|
inline |
Definition at line 76 of file DRASRTreeLikelihoodData.h.
References nodeDLikelihoods_.
Referenced by bpp::DRASRTreeLikelihoodData::initLikelihoods(), and bpp::DRASRTreeLikelihoodData::initLikelihoodsWithPatterns().
|
inline |
Definition at line 77 of file DRASRTreeLikelihoodData.h.
References nodeDLikelihoods_.
|
inline |
Definition at line 73 of file DRASRTreeLikelihoodData.h.
References nodeLikelihoods_.
Referenced by bpp::DRASRTreeLikelihoodData::initLikelihoods(), and bpp::DRASRTreeLikelihoodData::initLikelihoodsWithPatterns().
|
inline |
Definition at line 74 of file DRASRTreeLikelihoodData.h.
References nodeLikelihoods_.
|
inlinevirtual |
Get the node associated to this data structure.
Implements bpp::TreeLikelihoodNodeData.
Definition at line 70 of file DRASRTreeLikelihoodData.h.
References node_.
|
inline |
Definition at line 55 of file DRASRTreeLikelihoodData.h.
References node_, nodeD2Likelihoods_, nodeDLikelihoods_, and nodeLikelihoods_.
|
inlinevirtual |
Set the node associated to this data.
A pointer toward this node will be created and associated to this data.
node | The node to be associated to this data. |
Implements bpp::TreeLikelihoodNodeData.
Definition at line 71 of file DRASRTreeLikelihoodData.h.
References node_.
Referenced by bpp::DRASRTreeLikelihoodData::initLikelihoods(), and bpp::DRASRTreeLikelihoodData::initLikelihoodsWithPatterns().
|
private |
Definition at line 43 of file DRASRTreeLikelihoodData.h.
Referenced by getNode(), operator=(), and setNode().
|
mutableprivate |
Definition at line 42 of file DRASRTreeLikelihoodData.h.
Referenced by getD2LikelihoodArray(), and operator=().
|
mutableprivate |
Definition at line 41 of file DRASRTreeLikelihoodData.h.
Referenced by getDLikelihoodArray(), and operator=().
|
mutableprivate |
Definition at line 40 of file DRASRTreeLikelihoodData.h.
Referenced by getLikelihoodArray(), and operator=().