5 #ifndef _LEGACY_REWARD_MAPPING_H_
6 #define _LEGACY_REWARD_MAPPING_H_
36 virtual double&
operator()(
size_t nodeIndex,
size_t siteIndex) = 0;
37 virtual const double&
operator()(
size_t nodeIndex,
size_t siteIndex)
const = 0;
Partial implementation of the mapping interface.
const TreeTemplate< Node > & tree() const override
Partial implementation of the reward mapping interface.
LegacyAbstractRewardMapping * clone() const override=0
LegacyAbstractRewardMapping & operator=(const LegacyAbstractRewardMapping &arm)=default
virtual ~LegacyAbstractRewardMapping()
LegacyAbstractRewardMapping(const LegacyAbstractRewardMapping &arm)=default
LegacyAbstractRewardMapping(const Tree &tree)
General interface for storing mapping data.
Legacy interface for storing reward mapping data.
virtual const double & operator()(size_t nodeIndex, size_t siteIndex) const =0
virtual ~LegacyRewardMappingInterface()
LegacyRewardMappingInterface * clone() const override=0
virtual double & operator()(size_t nodeIndex, size_t siteIndex)=0
LegacyRewardMappingInterface()
Interface for phylogenetic tree objects.
Defines the basic types of data flow nodes.