41 #ifndef _RHOMOGENEOUSCLOCKTREELIKELIHOOD_H_ 42 #define _RHOMOGENEOUSCLOCKTREELIKELIHOOD_H_ 46 #include "../TreeTemplate.h" 48 #include <Bpp/Numeric/ParameterList.h> 91 DiscreteDistribution* rDist,
92 bool checkRooted =
true,
114 const SiteContainer& data,
116 DiscreteDistribution* rDist,
117 bool checkRooted =
true,
167 #endif // _RHOMOGENEOUSCLOCKTREELIKELIHOOD_H_ Interface for all substitution models.
void applyParameters()
All parameters are stored in a parameter list. This function apply these parameters to the substituti...
void fireParameterChanged(const ParameterList ¶ms)
void initBranchLengthsParameters()
Likelihood computation with a global clock.
ParameterList getNonDerivableParameters() const
All non derivable parameters.
double getSecondOrderDerivative(const std::string &variable) const
void computeBranchLengthsFromHeights(Node *node, double height)
Update all lengths according to parameter values.
Interface for phylogenetic tree objects.
This class implement the 'traditional' way of computing likelihood for a tree.
RHomogeneousClockTreeLikelihood(const Tree &tree, SubstitutionModel *model, DiscreteDistribution *rDist, bool checkRooted=true, bool verbose=true)
Build a new HomogeneousClockTreeLikelihood object.
virtual ~RHomogeneousClockTreeLikelihood()
Interface for likelihood computation with a global clock and rate across sites variation.
The phylogenetic node class.
ParameterList getDerivableParameters() const
All derivable parameters.
void init_()
Method called by constructor.
RHomogeneousClockTreeLikelihood * clone() const
double getFirstOrderDerivative(const std::string &variable) const