5 #ifndef BPP_SEQ_ALPHABETINDEX_KD_AAHYDROPATHYINDEX_H
6 #define BPP_SEQ_ALPHABETINDEX_KD_AAHYDROPATHYINDEX_H
64 double getIndex(
const std::string& state)
const override
Hydropathy index defined in Kyte & Doolitle (1982).
double getIndex(const std::string &state) const override
Get the index associated to a state.
KD_AAHydropathyIndex * clone() const override
std::vector< double > hydropathy_
virtual ~KD_AAHydropathyIndex()
double getIndex(int state) const override
Get the index associated to a state.
const std::vector< double > & indexVector() const override
std::shared_ptr< const Alphabet > getAlphabet() const override
Get the alphabet associated to this index.
This alphabet is used to deal NumericAlphabet.