bpp-seq
2.2.0
|
Charge of each amino acid. More...
#include <Bpp/Seq/AlphabetIndex/KleinAANetChargeIndex.h>
Public Member Functions | |
KleinAANetChargeIndex () | |
virtual | ~KleinAANetChargeIndex () |
KleinAANetChargeIndex * | clone () const |
double | getIndex (int state) const throw (BadIntException) |
Get the index associated to a state. More... | |
double | getIndex (const std::string &state) const throw (BadCharException) |
Get the index associated to a state. More... | |
std::vector< double > * | getIndexVector () const |
const Alphabet * | getAlphabet () const |
Get the alphabet associated to this index. More... | |
Private Attributes | |
std::vector< double > | charge_ |
Charge of each amino acid.
Definition at line 69 of file KleinAANetChargeIndex.h.
|
inline |
|
inlinevirtual |
Definition at line 101 of file KleinAANetChargeIndex.h.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 103 of file KleinAANetChargeIndex.h.
References KleinAANetChargeIndex().
|
inlinevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 119 of file KleinAANetChargeIndex.h.
References bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Get the index associated to a state.
state | The state to consider, as a int value. |
Implements bpp::AlphabetIndex1.
Definition at line 106 of file KleinAANetChargeIndex.h.
References charge_, and bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Get the index associated to a state.
state | The state to consider, as a string value. |
Implements bpp::AlphabetIndex1.
Definition at line 112 of file KleinAANetChargeIndex.h.
References charge_, bpp::LetterAlphabet::charToInt(), and bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 117 of file KleinAANetChargeIndex.h.
References charge_.
|
private |
Definition at line 73 of file KleinAANetChargeIndex.h.
Referenced by getIndex(), getIndexVector(), and KleinAANetChargeIndex().