5 #ifndef BPP_PHYL_MAPPING_SUBSTITUTIONDISTANCE_H
6 #define BPP_PHYL_MAPPING_SUBSTITUTIONDISTANCE_H
31 virtual void setDistances(std::shared_ptr<const AlphabetIndex2> index) = 0;
33 virtual std::shared_ptr<const AlphabetIndex2>
getDistances()
const = 0;
65 void setDistances(std::shared_ptr<const AlphabetIndex2> distances);
Partial implementation of the SubstitutionDistance interface.
AbstractSubstitutionDistance & operator=(const AbstractSubstitutionDistance &index)
std::shared_ptr< const AlphabetIndex2 > getDistances() const
void setDistances(std::shared_ptr< const AlphabetIndex2 > distances)
bool hasDistances() const
AbstractSubstitutionDistance(std::shared_ptr< const AlphabetIndex2 > distances)
AbstractSubstitutionDistance(const AbstractSubstitutionDistance &index)
virtual ~AbstractSubstitutionDistance()
virtual void distancesHaveChanged()=0
std::shared_ptr< const AlphabetIndex2 > distances_
The SubstitutionsCount interface.
Interface allowing for using distances between states in substitution counts.
virtual std::shared_ptr< const AlphabetIndex2 > getDistances() const =0
virtual void setDistances(std::shared_ptr< const AlphabetIndex2 > index)=0
virtual bool hasDistances() const =0
Defines the basic types of data flow nodes.