41 #ifndef _NONHOMOGENEOUSTREELIKELIHOOD_H_ 42 #define _NONHOMOGENEOUSTREELIKELIHOOD_H_ 45 #include "../Model/SubstitutionModelSet.h" 64 #ifndef NO_VIRTUAL_COV 122 #endif //_NONHOMOGENEOUSTREELIKELIHOOD_H_ Substitution models manager for non-homogeneous / non-reversible models of evolution.
Interface for all substitution models.
SubstitutionModel * getSubstitutionModel(int nodeId, size_t siteIndex)
Get the substitution model associated to a given node and alignment column.
virtual const SubstitutionModel * getSubstitutionModelForNode(int nodeId) const =0
Get the substitution model associated to a given node.
virtual ParameterList getRootFrequenciesParameters() const =0
The TreeLikelihood interface.
virtual const SubstitutionModelSet * getSubstitutionModelSet() const =0
Exception thrown when something is wrong with a particular node.
Specialization of the TreeLikelihood interface for the branch non-homogeneous and non-stationary mode...
const SubstitutionModel * getSubstitutionModel(int nodeId, size_t siteIndex) const
Get the substitution model associated to a given node and alignment column.
NonHomogeneousTreeLikelihood * clone() const =0
virtual void setSubstitutionModelSet(SubstitutionModelSet *model)=0