5 #ifndef BPP_PHYL_MAPPING_PHYLOBRANCHREWARD_H
6 #define BPP_PHYL_MAPPING_PHYLOBRANCHREWARD_H
12 #include "../Tree/PhyloBranch.h"
size_t getNumberOfSites() const
Gets the number of sites.
double operator()(size_t site) const
Gets the rewards at a given site on a given type.
const Vdouble & getRewards() const
return rewards
void setSiteReward(size_t site, double rew)
void setNumberOfSites(size_t nbSites)
Sets a number of sites.
double & operator()(size_t site)
double getSiteReward(size_t site) const
PhyloBranchReward(const PhyloBranchReward &branch)
Copy constructor.
PhyloBranchReward & operator=(const PhyloBranchReward &branch)
Assignation operator.
~PhyloBranchReward()
destructor. In Graph, nothing is changed.
PhyloBranchReward * clone() const
PhyloBranchReward()
Constructors.
PhyloBranchReward(double length)
PhyloBranchReward(const PhyloBranch &branch)
PhyloBranch & operator=(const PhyloBranch &branch)
Assignation operator.
Defines the basic types of data flow nodes.
std::vector< double > Vdouble