bpp-seq3
3.0.0
|
Polarity index used in Grantham (1974). More...
#include <Bpp/Seq/AlphabetIndex/GranthamAAPolarityIndex.h>
Public Member Functions | |
GranthamAAPolarityIndex () | |
virtual | ~GranthamAAPolarityIndex () |
GranthamAAPolarityIndex * | clone () const override |
double | getIndex (int state) const override |
Get the index associated to a state. More... | |
double | getIndex (const std::string &state) const override |
Get the index associated to a state. More... | |
const std::vector< double > & | indexVector () const override |
std::shared_ptr< const Alphabet > | getAlphabet () const override |
Get the alphabet associated to this index. More... | |
const Alphabet & | alphabet () const override |
Get the alphabet associated to this index. More... | |
Private Attributes | |
std::vector< double > | polarity_ |
std::shared_ptr< const ProteicAlphabet > | alpha_ |
Polarity index used in Grantham (1974).
Definition at line 32 of file GranthamAAPolarityIndex.h.
|
inline |
Definition at line 39 of file GranthamAAPolarityIndex.h.
References polarity_.
Referenced by clone().
|
inlinevirtual |
Definition at line 66 of file GranthamAAPolarityIndex.h.
|
inlineoverridevirtualinherited |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 99 of file AlphabetIndex1.h.
References bpp::ProteicAlphabetIndex1::alpha_.
|
inlineoverridevirtual |
Implements bpp::ProteicAlphabetIndex1.
Definition at line 68 of file GranthamAAPolarityIndex.h.
References GranthamAAPolarityIndex().
|
inlineoverridevirtualinherited |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 97 of file AlphabetIndex1.h.
References bpp::ProteicAlphabetIndex1::alpha_.
Referenced by bpp::AAChargeIndex::getIndex(), bpp::AAChenGuHuangHydrophobicityIndex::getIndex(), bpp::AAChouFasmanAHelixIndex::getIndex(), bpp::AAChouFasmanBSheetIndex::getIndex(), bpp::AAChouFasmanTurnIndex::getIndex(), bpp::AAIndex1Entry::getIndex(), bpp::AAMassIndex::getIndex(), bpp::AASEA1030Index::getIndex(), bpp::AASEAInf10Index::getIndex(), bpp::AASEASup30Index::getIndex(), bpp::AASurfaceIndex::getIndex(), bpp::AAVolumeIndex::getIndex(), getIndex(), bpp::GranthamAAVolumeIndex::getIndex(), bpp::KD_AAHydropathyIndex::getIndex(), and bpp::KleinAANetChargeIndex::getIndex().
|
inlineoverridevirtual |
Get the index associated to a state.
state | The state to consider, as a string value. |
Implements bpp::AlphabetIndex1.
Definition at line 76 of file GranthamAAPolarityIndex.h.
References bpp::ProteicAlphabetIndex1::getAlphabet(), and polarity_.
|
inlineoverridevirtual |
Get the index associated to a state.
state | The state to consider, as a int value. |
Implements bpp::AlphabetIndex1.
Definition at line 71 of file GranthamAAPolarityIndex.h.
References bpp::ProteicAlphabetIndex1::getAlphabet(), and polarity_.
|
inlineoverridevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 81 of file GranthamAAPolarityIndex.h.
References polarity_.
|
privateinherited |
Definition at line 79 of file AlphabetIndex1.h.
Referenced by bpp::ProteicAlphabetIndex1::alphabet(), bpp::ProteicAlphabetIndex1::getAlphabet(), and bpp::ProteicAlphabetIndex1::operator=().
|
private |
Definition at line 36 of file GranthamAAPolarityIndex.h.
Referenced by getIndex(), GranthamAAPolarityIndex(), and indexVector().