bpp-seq3
3.0.0
|
Virtual AlphabetIndex2 for proteic alphabet. More...
#include <Bpp/Seq/AlphabetIndex/AlphabetIndex2.h>
Public Member Functions | |
ProteicAlphabetIndex2 () | |
virtual | ~ProteicAlphabetIndex2 () |
virtual ProteicAlphabetIndex2 * | clone () const override=0 |
ProteicAlphabetIndex2 (const ProteicAlphabetIndex2 &pt) | |
ProteicAlphabetIndex2 & | operator= (const ProteicAlphabetIndex2 &pt) |
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... | |
virtual double | getIndex (int state1, int state2) const =0 |
Get the index associated to a pair of states. More... | |
virtual double | getIndex (const std::string &state1, const std::string &state2) const =0 |
Get the index associated to a pair of states. More... | |
virtual const Matrix< double > & | getIndexMatrix () const =0 |
virtual bool | isSymmetric () const =0 |
Private Attributes | |
std::shared_ptr< const ProteicAlphabet > | alpha_ |
Virtual AlphabetIndex2 for proteic alphabet.
Definition at line 80 of file AlphabetIndex2.h.
|
inline |
Definition at line 87 of file AlphabetIndex2.h.
|
inlinevirtual |
Definition at line 88 of file AlphabetIndex2.h.
|
inline |
Definition at line 92 of file AlphabetIndex2.h.
|
inlineoverridevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex2.
Definition at line 104 of file AlphabetIndex2.h.
References alpha_.
|
overridepure virtual |
Implements bpp::AlphabetIndex2.
Implemented in bpp::MiyataAAChemicalDistance, bpp::GranthamAAChemicalDistance, bpp::BLOSUM50, and bpp::AAIndex2Entry.
|
inlineoverridevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex2.
Definition at line 102 of file AlphabetIndex2.h.
References alpha_.
Referenced by bpp::AAIndex2Entry::getIndex(), bpp::BLOSUM50::getIndex(), bpp::GranthamAAChemicalDistance::getIndex(), and bpp::MiyataAAChemicalDistance::getIndex().
|
pure virtualinherited |
Get the index associated to a pair of states.
state1 | First state to consider, as a string value. |
state2 | Second state to consider, as a string value. |
Implemented in bpp::SimpleScore, bpp::SimpleIndexDistance, bpp::MiyataAAChemicalDistance, bpp::GranthamAAChemicalDistance, bpp::DefaultNucleotideScore, bpp::CodonFromProteicAlphabetIndex2, bpp::BLOSUM50, bpp::AAIndex2Entry, and bpp::UserAlphabetIndex2.
|
pure virtualinherited |
Get the index associated to a pair of states.
state1 | First state to consider, as a int value in the Alphabet |
state2 | Second state to consider, as a int value in the Alphabet |
Implemented in bpp::SimpleScore, bpp::SimpleIndexDistance, bpp::MiyataAAChemicalDistance, bpp::GranthamAAChemicalDistance, bpp::DefaultNucleotideScore, bpp::CodonFromProteicAlphabetIndex2, bpp::BLOSUM50, bpp::AAIndex2Entry, and bpp::UserAlphabetIndex2.
Referenced by bpp::SiteContainerTools::alignNW().
|
pure virtualinherited |
Implemented in bpp::SimpleScore, bpp::SimpleIndexDistance, bpp::MiyataAAChemicalDistance, bpp::GranthamAAChemicalDistance, bpp::DefaultNucleotideScore, bpp::CodonFromProteicAlphabetIndex2, bpp::BLOSUM50, bpp::AAIndex2Entry, and bpp::UserAlphabetIndex2.
|
pure virtualinherited |
Implemented in bpp::SimpleScore, bpp::SimpleIndexDistance, bpp::MiyataAAChemicalDistance, bpp::GranthamAAChemicalDistance, bpp::DefaultNucleotideScore, bpp::CodonFromProteicAlphabetIndex2, bpp::BLOSUM50, bpp::AAIndex2Entry, and bpp::UserAlphabetIndex2.
|
inline |
Definition at line 96 of file AlphabetIndex2.h.
References alpha_.
Referenced by bpp::AAIndex2Entry::operator=(), bpp::BLOSUM50::operator=(), bpp::GranthamAAChemicalDistance::operator=(), and bpp::MiyataAAChemicalDistance::operator=().
|
private |
Definition at line 84 of file AlphabetIndex2.h.
Referenced by alphabet(), getAlphabet(), and operator=().