5 #ifndef BPP_SEQ_ALPHABETINDEX_KLEINAANETCHARGEINDEX_H
6 #define BPP_SEQ_ALPHABETINDEX_KLEINAANETCHARGEINDEX_H
78 double getIndex(
const std::string& state)
const override
Charge of each amino acid.
double getIndex(const std::string &state) const override
Get the index associated to a state.
virtual ~KleinAANetChargeIndex()
std::vector< double > charge_
const std::vector< double > & indexVector() const override
double getIndex(int state) const override
Get the index associated to a state.
KleinAANetChargeIndex * clone() const override
std::shared_ptr< const Alphabet > getAlphabet() const override
Get the alphabet associated to this index.
This alphabet is used to deal NumericAlphabet.