40 #ifndef _REWARDMAPPING_H_ 41 #define _REWARDMAPPING_H_ 45 #include <Bpp/Clonable.h> 70 #ifndef NO_VIRTUAL_COV 76 virtual double&
operator()(
size_t nodeIndex,
size_t siteIndex) = 0;
77 virtual const double&
operator()(
size_t nodeIndex,
size_t siteIndex)
const = 0;
99 #ifndef NO_VIRTUAL_COV 115 #endif //_REWARDMAPPING_H_ virtual ~AbstractRewardMapping()
AbstractRewardMapping & operator=(const AbstractRewardMapping &arm)
AbstractMapping & operator=(const AbstractMapping &absm)
RewardMapping * clone() const =0
AbstractRewardMapping(const Tree &tree)
General interface for storing mapping data.
General interface for storing reward mapping data.
Interface for phylogenetic tree objects.
virtual double & operator()(size_t nodeIndex, size_t siteIndex)=0
AbstractRewardMapping * clone() const =0
Partial implementation of the reward mapping interface.
Partial implementation of the mapping interface.
AbstractRewardMapping(const AbstractRewardMapping &arm)