40 #ifndef _AACHUFASMANBSHEETINDEX_H_ 41 #define _AACHUFASMANBSHEETINDEX_H_ 44 #include "../Alphabet/ProteicAlphabet.h" 45 #include "../Alphabet/AlphabetTools.h" 95 return bSheet_[
static_cast<size_t>(state)];
109 #endif // _AACHUFASMANBSHEETINDEX_H_ An alphabet exception thrown when trying to specify a bad char to the alphabet.
B-sheet score for the Chou-Fasman algorithm of secondary structure prediction, according to http://pr...
This alphabet is used to deal NumericAlphabet.
std::vector< double > bSheet_
double getIndex(int state) const
Get the index associated to a state.
const Alphabet * getAlphabet() const
Get the alphabet associated to this index.
std::vector< double > * getIndexVector() const
virtual ~AAChouFasmanBSheetIndex()
One dimensionnal alphabet index interface.
An alphabet exception thrown when trying to specify a bad int to the alphabet.
double getIndex(const std::string &state) const
Get the index associated to a state.
AAChouFasmanBSheetIndex()
AAChouFasmanBSheetIndex * clone() const
int charToInt(const std::string &state) const
Give the int description of a state given its string description.