5 #ifndef BPP_PHYL_LEGACY_LIKELIHOOD_GLOBALCLOCKTREELIKELIHOODFUNCTIONWRAPPER_H
6 #define BPP_PHYL_LEGACY_LIKELIHOOD_GLOBALCLOCKTREELIKELIHOODFUNCTIONWRAPPER_H
18 std::shared_ptr<TreeLikelihoodInterface>
tl_;
34 AbstractParametrizable::operator=(gctlfw);
56 double getSecondOrderDerivative(
const std::string& variable1,
const std::string& variable2)
const {
return tl_->getSecondOrderDerivative(variable1, variable2); }
bool matchParametersValues(const ParameterList ¶meters) override
GlobalClockTreeLikelihoodFunctionWrapper & operator=(const GlobalClockTreeLikelihoodFunctionWrapper &gctlfw)
void enableFirstOrderDerivatives(bool yn)
double getSecondOrderDerivative(const std::string &variable1, const std::string &variable2) const
bool enableFirstOrderDerivatives() const
void computeBranchLengthsFromHeights_(const Node *node, double height, ParameterList &brlenPl)
void enableSecondOrderDerivatives(bool yn)
void fireParameterChanged(const bpp::ParameterList &pl)
GlobalClockTreeLikelihoodFunctionWrapper * clone() const
bool enableSecondOrderDerivatives() const
void setParameters(const ParameterList &pl)
double getFirstOrderDerivative(const std::string &variable) const
ParameterList getHeightParameters() const
GlobalClockTreeLikelihoodFunctionWrapper(const GlobalClockTreeLikelihoodFunctionWrapper &gctlfw)
GlobalClockTreeLikelihoodFunctionWrapper(std::shared_ptr< TreeLikelihoodInterface > tl)
double getSecondOrderDerivative(const std::string &variable) const
std::shared_ptr< TreeLikelihoodInterface > tl_
The phylogenetic node class.
Defines the basic types of data flow nodes.