bpp-seq
2.2.0
|
Charge of each amino acid. More...
#include <Bpp/Seq/AlphabetIndex/AAChargeIndex.h>
Public Member Functions | |
AAChargeIndex () | |
virtual | ~AAChargeIndex () |
AAChargeIndex * | 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.
Hence, combining the two:
Definition at line 95 of file AAChargeIndex.h.
|
inline |
|
inlinevirtual |
Definition at line 128 of file AAChargeIndex.h.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 130 of file AAChargeIndex.h.
References AAChargeIndex().
|
inlinevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 146 of file AAChargeIndex.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 133 of file AAChargeIndex.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 139 of file AAChargeIndex.h.
References charge_, bpp::LetterAlphabet::charToInt(), and bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 144 of file AAChargeIndex.h.
References charge_.
|
private |
Definition at line 99 of file AAChargeIndex.h.
Referenced by AAChargeIndex(), getIndex(), and getIndexVector().