41 #ifndef _SITEPARTITIONTREELIKELIHOOD_H_ 42 #define _SITEPARTITIONTREELIKELIHOOD_H_ 60 #ifndef NO_VIRTUAL_COV 95 #endif //_SITEPARTITIONTREELIKELIHOOD_H_ Interface for all substitution models.
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.
The TreeLikelihood interface.
SitePartitionHomogeneousTreeLikelihood * clone() const =0
virtual const SubstitutionModel * getSubstitutionModelForSite(size_t siteIndex) const =0
Get the substitution model associated to a given node.
Exception thrown when something is wrong with a particular node.
Specialization of the TreeLikelihood interface for partition models, homogeneous case.