40 #ifndef _SUBSTITUTIONMAPPING_H_ 41 #define _SUBSTITUTIONMAPPING_H_ 45 #include <Bpp/Clonable.h> 73 #ifndef NO_VIRTUAL_COV 83 virtual double&
operator()(
size_t nodeIndex,
size_t siteIndex,
size_t type) = 0;
84 virtual const double&
operator()(
size_t nodeIndex,
size_t siteIndex,
size_t type)
const = 0;
106 #ifndef NO_VIRTUAL_COV 122 #endif //_SUBSTITUTIONMAPPING_H_ Partial implementation of the substitution mapping interface.
AbstractSubstitutionMapping * clone() const =0
SubstitutionMapping * clone() const =0
AbstractMapping & operator=(const AbstractMapping &absm)
virtual double & operator()(size_t nodeIndex, size_t siteIndex, size_t type)=0
AbstractSubstitutionMapping(const Tree &tree)
General interface for storing mapping data.
General interface for storing mapping data.
AbstractSubstitutionMapping(const AbstractSubstitutionMapping &absm)
Interface for phylogenetic tree objects.
virtual ~SubstitutionMapping()
virtual ~AbstractSubstitutionMapping()
virtual size_t getNumberOfSubstitutionTypes() const =0
Partial implementation of the mapping interface.
AbstractSubstitutionMapping & operator=(const AbstractSubstitutionMapping &absm)