5 #ifndef _LEGACY_SUBSTITUTION_MAPPING_H_
6 #define _LEGACY_SUBSTITUTION_MAPPING_H_
44 virtual double&
operator()(
size_t nodeIndex,
size_t siteIndex,
size_t type) = 0;
45 virtual const double&
operator()(
size_t nodeIndex,
size_t siteIndex,
size_t type)
const = 0;
Partial implementation of the mapping interface.
const TreeTemplate< Node > & tree() const override
Partial implementation of the substitution mapping interface.
LegacyAbstractSubstitutionMapping & operator=(const LegacyAbstractSubstitutionMapping &absm)=default
LegacyAbstractSubstitutionMapping(const LegacyAbstractSubstitutionMapping &absm)=default
LegacyAbstractSubstitutionMapping * clone() const override=0
LegacyAbstractSubstitutionMapping(const Tree &tree)
virtual ~LegacyAbstractSubstitutionMapping()
General interface for storing mapping data.
Legacy interface for storing mapping data.
virtual const double & operator()(size_t nodeIndex, size_t siteIndex, size_t type) const =0
LegacySubstitutionMappingInterface()
virtual size_t getNumberOfSubstitutionTypes() const =0
virtual ~LegacySubstitutionMappingInterface()
virtual double & operator()(size_t nodeIndex, size_t siteIndex, size_t type)=0
LegacySubstitutionMappingInterface * clone() const override=0
Interface for phylogenetic tree objects.
Defines the basic types of data flow nodes.