bpp-phyl3
3.0.0
|
General interface for storing reward mapping data. More...
#include <Bpp/Phyl/Mapping/RewardMapping.h>
Public Member Functions | |
RewardMappingInterface () | |
virtual | ~RewardMappingInterface () |
RewardMappingInterface * | clone () const override=0 |
virtual double & | operator() (uint branchId, size_t siteIndex)=0 |
virtual double | operator() (uint branchId, size_t siteIndex) const =0 |
virtual size_t | getNumberOfSites () const =0 |
virtual const PhyloBranch & | getBranch (unsigned int branchId) const =0 |
virtual PhyloBranch & | getBranch (unsigned int branchId)=0 |
virtual size_t | getNumberOfBranches () const =0 |
virtual int | getSitePosition (size_t index) const =0 |
virtual void | setSitePosition (size_t index, int position)=0 |
Set the position of a given site. More... | |
General interface for storing reward mapping data.
Since only probabilistic reward mapping is implemented for now, the basal interface only contains a few methods. More methods are expected to be added later.
Definition at line 25 of file RewardMapping.h.
|
inline |
Definition at line 29 of file RewardMapping.h.
|
inlinevirtual |
Definition at line 30 of file RewardMapping.h.
|
overridepure virtual |
Implements bpp::MappingInterface.
Implemented in bpp::AbstractRewardMapping, and bpp::ProbabilisticRewardMapping.
|
pure virtualinherited |
Implemented in bpp::ProbabilisticSubstitutionMapping, and bpp::ProbabilisticRewardMapping.
|
pure virtualinherited |
Implemented in bpp::ProbabilisticSubstitutionMapping, and bpp::ProbabilisticRewardMapping.
|
pure virtualinherited |
Implemented in bpp::ProbabilisticSubstitutionMapping, and bpp::ProbabilisticRewardMapping.
|
pure virtualinherited |
Implemented in bpp::AbstractMapping.
|
pure virtualinherited |
index | The site index. |
Implemented in bpp::AbstractMapping.
|
pure virtual |
Implemented in bpp::ProbabilisticRewardMapping.
|
pure virtual |
Implemented in bpp::ProbabilisticRewardMapping.
|
pure virtualinherited |
Set the position of a given site.
index | The site index. |
position | The position of the site. |
Implemented in bpp::AbstractMapping.