|
bpp-seq
2.2.0
|
Two dimensionnal alphabet index interface. More...
#include <Bpp/Seq/AlphabetIndex/AlphabetIndex2.h>
Inheritance diagram for bpp::AlphabetIndex2:
Collaboration diagram for bpp::AlphabetIndex2:Public Member Functions | |
| AlphabetIndex2 () | |
| virtual | ~AlphabetIndex2 () |
| virtual AlphabetIndex2 * | clone () const =0 |
| 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 Alphabet * | getAlphabet () const =0 |
| Get the alphabet associated to this index. More... | |
| virtual Matrix< double > * | getIndexMatrix () const =0 |
| virtual bool | isSymmetric () const =0 |
Two dimensionnal alphabet index interface.
Derivatives of this interface implement distances between two states.
Definition at line 57 of file AlphabetIndex2.h.
|
inline |
Definition at line 60 of file AlphabetIndex2.h.
|
inlinevirtual |
Definition at line 61 of file AlphabetIndex2.h.
|
pure virtual |
|
pure virtual |
Get the alphabet associated to this index.
Implemented in bpp::GranthamAAChemicalDistance, bpp::MiyataAAChemicalDistance, bpp::SimpleIndexDistance, bpp::DefaultNucleotideScore, bpp::SimpleScore, bpp::BLOSUM50, and bpp::AAIndex2Entry.
|
pure virtual |
Get the index associated to a pair of states.
| state1 | First state to consider, as a int value. |
| state2 | Second state to consider, as a int value. |
Implemented in bpp::GranthamAAChemicalDistance, bpp::MiyataAAChemicalDistance, bpp::DefaultNucleotideScore, bpp::SimpleScore, bpp::AAIndex2Entry, bpp::BLOSUM50, and bpp::SimpleIndexDistance.
|
pure virtual |
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::GranthamAAChemicalDistance, bpp::MiyataAAChemicalDistance, bpp::AAIndex2Entry, bpp::DefaultNucleotideScore, bpp::SimpleScore, bpp::BLOSUM50, and bpp::SimpleIndexDistance.
|
pure virtual |
Implemented in bpp::GranthamAAChemicalDistance, bpp::AAIndex2Entry, bpp::MiyataAAChemicalDistance, bpp::SimpleIndexDistance, bpp::DefaultNucleotideScore, bpp::SimpleScore, and bpp::BLOSUM50.
|
pure virtual |
Implemented in bpp::GranthamAAChemicalDistance, bpp::SimpleIndexDistance, bpp::AAIndex2Entry, bpp::MiyataAAChemicalDistance, bpp::DefaultNucleotideScore, bpp::SimpleScore, and bpp::BLOSUM50.