bpp-phyl
2.2.0
|
Compute likelihood for a 4-tree. More...
#include <Bpp/Phyl/Likelihood/NNIHomogeneousTreeLikelihood.h>
Public Member Functions | |
BranchLikelihood (const std::vector< unsigned int > &weights) | |
BranchLikelihood (const BranchLikelihood &bl) | |
BranchLikelihood & | operator= (const BranchLikelihood &bl) |
virtual | ~BranchLikelihood () |
BranchLikelihood * | clone () const |
void | initModel (const SubstitutionModel *model, const DiscreteDistribution *rDist) |
void | initLikelihoods (const VVVdouble *array1, const VVVdouble *array2) |
void | resetLikelihoods () |
void | setParameters (const ParameterList ¶meters) throw (ParameterNotFoundException, ConstraintException) |
double | getValue () const throw (Exception) |
void | fireParameterChanged (const ParameterList ¶meters) |
Protected Member Functions | |
void | computeAllTransitionProbabilities () |
void | computeLogLikelihood () |
Protected Attributes | |
const VVVdouble * | array1_ |
const VVVdouble * | array2_ |
const SubstitutionModel * | model_ |
const DiscreteDistribution * | rDist_ |
size_t | nbStates_ |
size_t | nbClasses_ |
VVVdouble | pxy_ |
double | lnL_ |
std::vector< unsigned int > | weights_ |
Compute likelihood for a 4-tree.
This class is used internally by DRHomogeneousTreeLikelihood to test NNI movements. This function needs:
Definition at line 62 of file NNIHomogeneousTreeLikelihood.h.
|
inline |
Definition at line 76 of file NNIHomogeneousTreeLikelihood.h.
Referenced by clone().
|
inline |
Definition at line 91 of file NNIHomogeneousTreeLikelihood.h.
|
inlinevirtual |
Definition at line 119 of file NNIHomogeneousTreeLikelihood.h.
|
inline |
Definition at line 121 of file NNIHomogeneousTreeLikelihood.h.
References BranchLikelihood().
Referenced by bpp::NNIHomogeneousTreeLikelihood::NNIHomogeneousTreeLikelihood(), and bpp::NNIHomogeneousTreeLikelihood::operator=().
|
protected |
Definition at line 72 of file NNIHomogeneousTreeLikelihood.cpp.
Referenced by fireParameterChanged().
|
protected |
Definition at line 93 of file NNIHomogeneousTreeLikelihood.cpp.
Referenced by fireParameterChanged().
|
inline |
Definition at line 150 of file NNIHomogeneousTreeLikelihood.h.
References computeAllTransitionProbabilities(), and computeLogLikelihood().
|
inline |
Definition at line 148 of file NNIHomogeneousTreeLikelihood.h.
References lnL_.
|
inline |
Definition at line 130 of file NNIHomogeneousTreeLikelihood.h.
void BranchLikelihood::initModel | ( | const SubstitutionModel * | model, |
const DiscreteDistribution * | rDist | ||
) |
Definition at line 54 of file NNIHomogeneousTreeLikelihood.cpp.
References bpp::SubstitutionModel::getNumberOfStates().
|
inline |
|
inline |
Definition at line 136 of file NNIHomogeneousTreeLikelihood.h.
|
inline |
Definition at line 142 of file NNIHomogeneousTreeLikelihood.h.
|
protected |
Definition at line 67 of file NNIHomogeneousTreeLikelihood.h.
Referenced by initLikelihoods(), operator=(), and resetLikelihoods().
|
protected |
Definition at line 67 of file NNIHomogeneousTreeLikelihood.h.
Referenced by initLikelihoods(), operator=(), and resetLikelihoods().
|
protected |
Definition at line 72 of file NNIHomogeneousTreeLikelihood.h.
Referenced by getValue(), and operator=().
|
protected |
Definition at line 68 of file NNIHomogeneousTreeLikelihood.h.
Referenced by operator=().
|
protected |
Definition at line 70 of file NNIHomogeneousTreeLikelihood.h.
Referenced by operator=().
|
protected |
Definition at line 70 of file NNIHomogeneousTreeLikelihood.h.
Referenced by operator=().
|
protected |
Definition at line 71 of file NNIHomogeneousTreeLikelihood.h.
Referenced by operator=().
|
protected |
Definition at line 69 of file NNIHomogeneousTreeLikelihood.h.
Referenced by operator=().
|
protected |
Definition at line 73 of file NNIHomogeneousTreeLikelihood.h.
Referenced by operator=().