40 #ifndef _GLOBALCLOCKTREELIKELIHOODFUNCTIONWRAPPER_H_ 41 #define _GLOBALCLOCKTREELIKELIHOODFUNCTIONWRAPPER_H_ 49 public virtual DerivableSecondOrder,
50 public AbstractParametrizable
57 AbstractParametrizable(
""),
64 AbstractParametrizable(gctlfw),
tl_(gctlfw.
tl_)
68 AbstractParametrizable::operator=(gctlfw);
78 matchParametersValues(pl);
81 double getValue()
const throw (Exception) {
return tl_->getValue(); }
89 double getSecondOrderDerivative(
const std::string& variable1,
const std::string& variable2)
const throw (Exception) {
return tl_->getSecondOrderDerivative(variable1, variable2); }
103 #endif //_GLOBALCLOCKTREELIKELIHOODFUNCTIONWRAPPER_H_ void enableSecondOrderDerivatives(bool yn)
GlobalClockTreeLikelihoodFunctionWrapper(const GlobalClockTreeLikelihoodFunctionWrapper &gctlfw)
bool enableFirstOrderDerivatives() const
The TreeLikelihood interface.
GlobalClockTreeLikelihoodFunctionWrapper(TreeLikelihood *tl)
ParameterList getHeightParameters() const
double getSecondOrderDerivative(const std::string &variable) const
GlobalClockTreeLikelihoodFunctionWrapper * clone() const
bool enableSecondOrderDerivatives() const
void enableFirstOrderDerivatives(bool yn)
void computeBranchLengthsFromHeights_(const Node *node, double height, ParameterList &brlenPl)
The phylogenetic node class.
void setParameters(const ParameterList &pl)
double getSecondOrderDerivative(const std::string &variable1, const std::string &variable2) const
void fireParameterChanged(const bpp::ParameterList &pl)
double getFirstOrderDerivative(const std::string &variable) const
GlobalClockTreeLikelihoodFunctionWrapper & operator=(const GlobalClockTreeLikelihoodFunctionWrapper &gctlfw)