5 #ifndef BPP_PHYL_MAPPING_REWARDMAPPING_H
6 #define BPP_PHYL_MAPPING_REWARDMAPPING_H
35 virtual double&
operator()(uint branchId,
size_t siteIndex) = 0;
36 virtual double operator()(uint branchId,
size_t siteIndex)
const = 0;
Partial implementation of the mapping interface.
AbstractMapping & operator=(const AbstractMapping &absm)=default
Partial implementation of the substitution mapping interface.
AbstractRewardMapping(const AbstractRewardMapping &absm)
AbstractRewardMapping & operator=(const AbstractRewardMapping &absm)
AbstractRewardMapping * clone() const override=0
virtual ~AbstractRewardMapping()
General interface for storing mapping data.
General interface for storing reward mapping data.
virtual ~RewardMappingInterface()
RewardMappingInterface * clone() const override=0
virtual double operator()(uint branchId, size_t siteIndex) const =0
virtual double & operator()(uint branchId, size_t siteIndex)=0
Defines the basic types of data flow nodes.