40 #ifndef _HOMOGENEOUSTREELIKELIHOOD_H_ 41 #define _HOMOGENEOUSTREELIKELIHOOD_H_ 44 #include "../Model/SubstitutionModel.h" 62 #ifndef NO_VIRTUAL_COV 97 #endif //_HOMOGENEOUSTREELIKELIHOOD_H_ Interface for all substitution models.
Specialization of the TreeLikelihood interface for the Homogeneous case.
The TreeLikelihood interface.
HomogeneousTreeLikelihood * clone() const =0
Exception thrown when something is wrong with a particular node.
virtual const SubstitutionModel * getSubstitutionModel() const =0
virtual void setSubstitutionModel(SubstitutionModel *model)=0
const SubstitutionModel * getSubstitutionModel(int nodeId, size_t siteIndex) const
Get the substitution model associated to a given node and alignment column.
SubstitutionModel * getSubstitutionModel(int nodeId, size_t siteIndex)
Get the substitution model associated to a given node and alignment column.