5 #ifndef BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_PHYLOLIKELIHOOD_H
6 #define BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_PHYLOLIKELIHOOD_H
11 #include "../DataFlow/LikelihoodCalculation.h"
Context for dataflow node construction.
virtual double getValue() const=0
The PhyloLikelihood interface, for phylogenetic likelihood.
virtual ParameterList getNonDerivableParameters() const =0
PhyloLikelihoodInterface()
virtual ParameterList getSubstitutionModelParameters() const =0
Get the independent parameters associated to substitution model(s).
PhyloLikelihoodInterface * clone() const =0
virtual const Context & context() const =0
virtual Context & context()=0
virtual ValueRef< DataLik > getLikelihoodNode() const =0
virtual std::shared_ptr< LikelihoodCalculation > getLikelihoodCalculation() const =0
virtual ParameterList getRateDistributionParameters() const =0
Get the independent parameters associated to the rate distribution(s).
virtual ~PhyloLikelihoodInterface()
virtual ParameterList getBranchLengthParameters() const =0
Get the independent branch lengths parameters.
virtual ParameterList getDerivableParameters() const =0
double getLogLikelihood() const
Get the logarithm of the likelihood for the whole dataset.
virtual bool isInitialized() const =0
virtual ParameterList getRootFrequenciesParameters() const =0
Get the independent parameters associated to the root frequencies(s).
virtual LikelihoodCalculation & likelihoodCalculation() const =0
Defines the basic types of data flow nodes.
std::shared_ptr< Value< T > > ValueRef
Shared pointer alias for Value<T>.