bpp-seq
2.2.0
|
Volume index used in Grantham (1974). More...
#include <Bpp/Seq/AlphabetIndex/GranthamAAVolumeIndex.h>
Public Member Functions | |
GranthamAAVolumeIndex () | |
virtual | ~GranthamAAVolumeIndex () |
GranthamAAVolumeIndex * | 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 > | volume_ |
Volume index used in Grantham (1974).
Definition at line 70 of file GranthamAAVolumeIndex.h.
|
inline |
|
inlinevirtual |
Definition at line 103 of file GranthamAAVolumeIndex.h.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 105 of file GranthamAAVolumeIndex.h.
References GranthamAAVolumeIndex().
|
inlinevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 121 of file GranthamAAVolumeIndex.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 108 of file GranthamAAVolumeIndex.h.
References bpp::AlphabetTools::PROTEIN_ALPHABET, and volume_.
|
inlinevirtual |
Get the index associated to a state.
state | The state to consider, as a string value. |
Implements bpp::AlphabetIndex1.
Definition at line 114 of file GranthamAAVolumeIndex.h.
References bpp::LetterAlphabet::charToInt(), bpp::AlphabetTools::PROTEIN_ALPHABET, and volume_.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 119 of file GranthamAAVolumeIndex.h.
References volume_.
|
private |
Definition at line 74 of file GranthamAAVolumeIndex.h.
Referenced by getIndex(), getIndexVector(), and GranthamAAVolumeIndex().