5 #ifndef BPP_PHYL_LEGACY_LIKELIHOOD_DRTREELIKELIHOOD_H
6 #define BPP_PHYL_LEGACY_LIKELIHOOD_DRTREELIKELIHOOD_H
Likelihood data structure for rate across sites models, using a double-recursive algorithm.
Interface for double-recursive (DR) implementation of the likelihood computation.
virtual ~DRTreeLikelihoodInterface()
virtual void computeLikelihoodAtNode(int nodeId, VVVdouble &likelihoodArray) const =0
Compute the likelihood array at a given node.
virtual const DRASDRTreeLikelihoodData & likelihoodData() const override=0
DRTreeLikelihoodInterface * clone() const override=0
DRTreeLikelihoodInterface()
virtual DRASDRTreeLikelihoodData & likelihoodData() override=0
Interface for rate across sites (RAS) implementation.
Defines the basic types of data flow nodes.
std::vector< VVdouble > VVVdouble