40 #ifndef _AASURFACEINDEX_H_ 41 #define _AASURFACEINDEX_H_ 44 #include "../Alphabet/ProteicAlphabet.h" 45 #include "../Alphabet/AlphabetTools.h" 93 return surface_[
static_cast<size_t>(state)];
107 #endif // _AASURFACEINDEX_H_ const Alphabet * getAlphabet() const
Get the alphabet associated to this index.
An alphabet exception thrown when trying to specify a bad char to the alphabet.
This alphabet is used to deal NumericAlphabet.
AASurfaceIndex * clone() const
Surface (Angström^2) of each amino acid, according to http://www.imb-jena.de/IMAGE_AA.html.
std::vector< double > surface_
One dimensionnal alphabet index interface.
double getIndex(const std::string &state) const
Get the index associated to a state.
virtual ~AASurfaceIndex()
double getIndex(int state) const
Get the index associated to a state.
An alphabet exception thrown when trying to specify a bad int to the alphabet.
std::vector< double > * getIndexVector() const
int charToInt(const std::string &state) const
Give the int description of a state given its string description.