5 #ifndef BPP_SEQ_ALPHABETINDEX_AAMASSINDEX_H
6 #define BPP_SEQ_ALPHABETINDEX_AAMASSINDEX_H
60 double getIndex(
const std::string& state)
const override
Mass (dalton) of each amino acid, according to http://www.imb-jena.de/IMAGE_AA.html.
AAMassIndex * clone() const override
double getIndex(int state) const override
Get the index associated to a state.
const std::vector< double > & indexVector() const override
double getIndex(const std::string &state) const override
Get the index associated to a state.
std::vector< double > mass_
std::shared_ptr< const Alphabet > getAlphabet() const override
Get the alphabet associated to this index.
This alphabet is used to deal NumericAlphabet.