5 #ifndef BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_ALIGNEDPHYLOLIKELIHOOD_H
6 #define BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_ALIGNEDPHYLOLIKELIHOOD_H
156 using namespace numeric;
DataLik getLikelihoodForASite(size_t site) const
Get the likelihood for a site (on uncompressed data)
AbstractAlignedPhyloLikelihood(const AbstractAlignedPhyloLikelihood &aasd)
VDataLik getLikelihoodPerSite() const
Get the likelihood for each site.
AbstractAlignedPhyloLikelihood & operator=(const AbstractAlignedPhyloLikelihood &aasd)
size_t getNumberOfSites() const
Get the number of sites in the dataset.
virtual ~AbstractAlignedPhyloLikelihood()
double getLogLikelihoodForASite(size_t site) const
Get the log likelihood for a site, and its derivatives.
AbstractAlignedPhyloLikelihood(Context &context, size_t nbSites)
void setNumberOfSites(size_t nbSites)
const Context & context() const override
AbstractPhyloLikelihood & operator=(const AbstractPhyloLikelihood &apl)
DataLik getLikelihoodForASite(size_t pos, bool shrunk=false)
The AlignedPhyloLikelihood interface, for phylogenetic likelihood.
virtual AlignedLikelihoodCalculation & alignedLikelihoodCalculation() const =0
virtual std::shared_ptr< AlignedLikelihoodCalculation > getAlignedLikelihoodCalculation() const =0
virtual AlignedPhyloLikelihoodInterface * clone() const =0
virtual double getLogLikelihoodForASite(size_t site) const =0
Get the log likelihood for a site, and its derivatives.
virtual VDataLik getLikelihoodPerSite() const =0
Get the likelihood for each site.
AlignedPhyloLikelihoodInterface()
friend class AlignedPhyloLikelihoodSet
virtual ~AlignedPhyloLikelihoodInterface()
virtual DataLik getLikelihoodForASite(size_t site) const =0
Get the likelihood for a site.
virtual size_t getNumberOfSites() const =0
Get the number of sites in the dataset.
Context for dataflow node construction.
The PhyloLikelihood interface, for phylogenetic likelihood.
Defines the basic types of data flow nodes.
std::vector< DataLik > VDataLik
double convert(const bpp::ExtendedFloat &ef)