5 #ifndef BPP_PHYL_LEGACY_LIKELIHOOD_NONHOMOGENEOUSTREELIKELIHOOD_H
6 #define BPP_PHYL_LEGACY_LIKELIHOOD_NONHOMOGENEOUSTREELIKELIHOOD_H
9 #include "../Model/SubstitutionModelSet.h"
32 std::shared_ptr<const TransitionModelInterface>
getModelForSite(
int nodeId,
size_t siteIndex)
const override
37 std::shared_ptr<TransitionModelInterface>
getModelForSite(
int nodeId,
size_t siteIndex)
override
49 virtual std::shared_ptr<const TransitionModelInterface>
getModelForNode(
int nodeId)
const = 0;
58 virtual std::shared_ptr<TransitionModelInterface>
getModelForNode(
int nodeId) = 0;
Specialization of the TreeLikelihood interface for the branch non-homogeneous and non-stationary mode...
virtual std::shared_ptr< SubstitutionModelSet > getSubstitutionModelSet()=0
virtual SubstitutionModelSet & substitutionModelSet()=0
virtual const SubstitutionModelSet & substitutionModelSet() const =0
std::shared_ptr< TransitionModelInterface > getModelForSite(int nodeId, size_t siteIndex) override
Get the substitution model associated to a given node and alignment column.
std::shared_ptr< const TransitionModelInterface > getModelForSite(int nodeId, size_t siteIndex) const override
Get the substitution model associated to a given node and alignment column.
virtual ParameterList getRootFrequenciesParameters() const =0
NonHomogeneousTreeLikelihood * clone() const override=0
virtual std::shared_ptr< const TransitionModelInterface > getModelForNode(int nodeId) const =0
Get the model associated to a given node.
virtual std::shared_ptr< const SubstitutionModelSet > getSubstitutionModelSet() const =0
virtual std::shared_ptr< TransitionModelInterface > getModelForNode(int nodeId)=0
Get the substitution model associated to a given node.
virtual void setSubstitutionModelSet(std::shared_ptr< SubstitutionModelSet > model)=0
Substitution models manager for non-homogeneous / non-reversible models of evolution.
The TreeLikelihood interface.
Defines the basic types of data flow nodes.