|
bpp-phyl
2.2.0
|
Completion of a given substitution register to consider all substitutions. The new substitutions are considered in an additional type. More...
#include <Bpp/Phyl/Mapping/SubstitutionRegister.h>
Inheritance diagram for bpp::CompleteSubstitutionRegister:
Collaboration diagram for bpp::CompleteSubstitutionRegister:Public Member Functions | |
| CompleteSubstitutionRegister (const SubstitutionRegister ®) | |
| CompleteSubstitutionRegister * | clone () const |
| CompleteSubstitutionRegister (const CompleteSubstitutionRegister &csr) | |
| CompleteSubstitutionRegister & | operator= (const CompleteSubstitutionRegister &csr) |
| ~CompleteSubstitutionRegister () | |
| size_t | getNumberOfSubstitutionTypes () const |
| size_t | getType (size_t fromState, size_t toState) const |
| Get the substitution type far a given pair of model states. More... | |
| std::string | getTypeName (size_t type) const |
| Get the name of a given substitution type. More... | |
| const SubstitutionModel * | getSubstitutionModel () const |
| const Alphabet * | getAlphabet () const |
Protected Attributes | |
| const SubstitutionModel * | model_ |
Private Attributes | |
| const SubstitutionRegister * | preg_ |
| bool | isRegComplete_ |
Completion of a given substitution register to consider all substitutions. The new substitutions are considered in an additional type.
Definition at line 359 of file SubstitutionRegister.h.
|
inline |
Definition at line 368 of file SubstitutionRegister.h.
References bpp::SubstitutionRegister::getAlphabet(), bpp::SubstitutionRegister::getType(), and isRegComplete_.
Referenced by clone().
|
inline |
Definition at line 389 of file SubstitutionRegister.h.
|
inline |
Definition at line 403 of file SubstitutionRegister.h.
References preg_.
|
inlinevirtual |
Implements bpp::SubstitutionRegister.
Definition at line 387 of file SubstitutionRegister.h.
References CompleteSubstitutionRegister().
|
inlinevirtualinherited |
Implements bpp::SubstitutionRegister.
Definition at line 147 of file SubstitutionRegister.h.
References bpp::SubstitutionModel::getAlphabet(), and bpp::AbstractSubstitutionRegister::model_.
|
inlinevirtual |
Implements bpp::SubstitutionRegister.
Definition at line 411 of file SubstitutionRegister.h.
References bpp::SubstitutionRegister::getNumberOfSubstitutionTypes(), isRegComplete_, and preg_.
Referenced by getType(), and getTypeName().
|
inlinevirtualinherited |
Implements bpp::SubstitutionRegister.
Definition at line 145 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::model_.
|
inlinevirtual |
Get the substitution type far a given pair of model states.
| fromState | Initial state (should be a state supported by the specified alphabet). |
| toState | Final state (should be a state supported by the specified alphabet). |
Implements bpp::SubstitutionRegister.
Definition at line 416 of file SubstitutionRegister.h.
References getNumberOfSubstitutionTypes(), bpp::SubstitutionRegister::getType(), and preg_.
|
inlinevirtual |
Get the name of a given substitution type.
This method is only used for user-friendlyness purposes, not computational goal. I can therefore be left unimplemented in some cases.
| type | Index of the substitution (should be an size_t contained in the register). |
Implements bpp::SubstitutionRegister.
Definition at line 425 of file SubstitutionRegister.h.
References getNumberOfSubstitutionTypes(), bpp::SubstitutionRegister::getTypeName(), and preg_.
|
inline |
Definition at line 395 of file SubstitutionRegister.h.
References bpp::SubstitutionRegister::clone(), isRegComplete_, bpp::AbstractSubstitutionRegister::operator=(), and preg_.
|
private |
Definition at line 365 of file SubstitutionRegister.h.
Referenced by CompleteSubstitutionRegister(), getNumberOfSubstitutionTypes(), and operator=().
|
protectedinherited |
Definition at line 125 of file SubstitutionRegister.h.
Referenced by bpp::AbstractSubstitutionRegister::getAlphabet(), bpp::CategorySubstitutionRegister::getCategory(), bpp::AbstractSubstitutionRegister::getSubstitutionModel(), bpp::CategorySubstitutionRegister::getType(), bpp::TsTvSubstitutionRegister::getType(), bpp::DnDsSubstitutionRegister::getType(), bpp::GCSynonymousSubstitutionRegister::getType(), bpp::AbstractSubstitutionRegister::operator=(), bpp::SelectedSubstitutionRegister::SelectedSubstitutionRegister(), and bpp::CategorySubstitutionRegister::setCategories().
|
private |
Definition at line 363 of file SubstitutionRegister.h.
Referenced by getNumberOfSubstitutionTypes(), getType(), getTypeName(), operator=(), and ~CompleteSubstitutionRegister().