bpp-seq3
3.0.0
|
#include <Bpp/Seq/AlphabetIndex/CodonFromProteicAlphabetIndex2.h>
Public Member Functions | |
CodonFromProteicAlphabetIndex2 (std::shared_ptr< const GeneticCode > gencode, std::shared_ptr< const AlphabetIndex2 > protalphindex) | |
CodonFromProteicAlphabetIndex2 (const CodonFromProteicAlphabetIndex2 &cfp) | |
CodonFromProteicAlphabetIndex2 & | operator= (const CodonFromProteicAlphabetIndex2 &cfp) |
virtual | ~CodonFromProteicAlphabetIndex2 () |
CodonFromProteicAlphabetIndex2 * | clone () const override |
double | getIndex (int state1, int state2) const override |
Get the index associated to a pair of states. More... | |
double | getIndex (const std::string &state1, const std::string &state2) const override |
Get the index associated to a pair of states. More... | |
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... | |
const Matrix< double > & | getIndexMatrix () const override |
bool | isSymmetric () const override |
Private Member Functions | |
void | fillIndex_ (std::shared_ptr< const AlphabetIndex2 > &protAlphIndex_) |
Private Attributes | |
std::shared_ptr< const CodonAlphabet > | alpha_ |
std::shared_ptr< const GeneticCode > | gencode_ |
LinearMatrix< double > | vIndex_ |
bool | isSymmetric_ |
Definition at line 21 of file CodonFromProteicAlphabetIndex2.h.
|
inline |
Definition at line 33 of file CodonFromProteicAlphabetIndex2.h.
References fillIndex_(), and bpp::AlphabetTools::isProteicAlphabet().
Referenced by clone().
|
inline |
Definition at line 45 of file CodonFromProteicAlphabetIndex2.h.
|
inlinevirtual |
Definition at line 62 of file CodonFromProteicAlphabetIndex2.h.
|
inlineoverridevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex2.
Definition at line 82 of file CodonFromProteicAlphabetIndex2.h.
References alpha_.
|
inlineoverridevirtual |
Implements bpp::AlphabetIndex2.
Definition at line 64 of file CodonFromProteicAlphabetIndex2.h.
References CodonFromProteicAlphabetIndex2().
|
inlineprivate |
Definition at line 98 of file CodonFromProteicAlphabetIndex2.h.
References gencode_, getAlphabet(), and vIndex_.
Referenced by CodonFromProteicAlphabetIndex2().
|
inlineoverridevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex2.
Definition at line 77 of file CodonFromProteicAlphabetIndex2.h.
References alpha_.
Referenced by fillIndex_(), and getIndex().
|
inlineoverridevirtual |
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. |
Implements bpp::AlphabetIndex2.
Definition at line 72 of file CodonFromProteicAlphabetIndex2.h.
References getAlphabet(), and vIndex_.
|
inlineoverridevirtual |
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 |
Implements bpp::AlphabetIndex2.
Definition at line 67 of file CodonFromProteicAlphabetIndex2.h.
References getAlphabet(), and vIndex_.
|
inlineoverridevirtual |
Implements bpp::AlphabetIndex2.
Definition at line 87 of file CodonFromProteicAlphabetIndex2.h.
References vIndex_.
|
inlineoverridevirtual |
Implements bpp::AlphabetIndex2.
Definition at line 92 of file CodonFromProteicAlphabetIndex2.h.
References isSymmetric_.
|
inline |
Definition at line 52 of file CodonFromProteicAlphabetIndex2.h.
References alpha_, gencode_, isSymmetric_, and vIndex_.
|
private |
Definition at line 25 of file CodonFromProteicAlphabetIndex2.h.
Referenced by alphabet(), getAlphabet(), and operator=().
|
private |
Definition at line 26 of file CodonFromProteicAlphabetIndex2.h.
Referenced by fillIndex_(), and operator=().
|
private |
Definition at line 30 of file CodonFromProteicAlphabetIndex2.h.
Referenced by isSymmetric(), and operator=().
|
private |
Definition at line 28 of file CodonFromProteicAlphabetIndex2.h.
Referenced by fillIndex_(), getIndex(), getIndexMatrix(), and operator=().