bpp-phyl3
3.0.0
|
Sets a Register based on a vector of Registers. The categories are intersection of categories of those Registers. More...
#include <Bpp/Phyl/Mapping/SubstitutionRegister.h>
Public Member Functions | |
VectorOfSubstitutionRegisters (std::shared_ptr< const StateMapInterface > stateMap) | |
VectorOfSubstitutionRegisters (const VectorOfSubstitutionRegisters &vosr) | |
VectorOfSubstitutionRegisters * | clone () const override |
virtual | ~VectorOfSubstitutionRegisters () |
void | addRegister (std::shared_ptr< SubstitutionRegisterInterface > reg) |
size_t | getType (size_t i, size_t j) const override |
Get the substitution type far a given pair of model states. More... | |
size_t | getNumberOfSubstitutionTypes () const override |
std::string | getTypeName (size_t type) const override |
names of the types are the list of their types in the registers (separated with _). More... | |
const StateMapInterface & | stateMap () const override |
std::shared_ptr< const StateMapInterface > | getStateMap () const override |
const Alphabet & | alphabet () const override |
std::shared_ptr< const Alphabet > | getAlphabet () const override |
const std::string & | getName () const override |
Get the name of the register. More... | |
Protected Attributes | |
std::shared_ptr< const StateMapInterface > | stateMap_ |
std::string | name_ |
Private Attributes | |
std::vector< std::shared_ptr< SubstitutionRegisterInterface > > | vSubReg_ |
the vector of pointers to SubstitutionRegisters. More... | |
Sets a Register based on a vector of Registers. The categories are intersection of categories of those Registers.
Definition at line 280 of file SubstitutionRegister.h.
|
inline |
Definition at line 290 of file SubstitutionRegister.h.
Referenced by clone().
|
inline |
Definition at line 295 of file SubstitutionRegister.h.
|
inlinevirtual |
Definition at line 305 of file SubstitutionRegister.h.
|
inline |
Definition at line 307 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::stateMap(), and vSubReg_.
|
inlineoverridevirtualinherited |
Implements bpp::SubstitutionRegisterInterface.
Definition at line 133 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::stateMap_.
|
inlineoverridevirtual |
Implements bpp::SubstitutionRegisterInterface.
Definition at line 300 of file SubstitutionRegister.h.
References VectorOfSubstitutionRegisters().
|
inlineoverridevirtualinherited |
Implements bpp::SubstitutionRegisterInterface.
Definition at line 135 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::stateMap_.
|
inlineoverridevirtualinherited |
Get the name of the register.
Implements bpp::SubstitutionRegisterInterface.
Definition at line 137 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::name_.
|
inlineoverridevirtual |
Implements bpp::SubstitutionRegisterInterface.
Definition at line 337 of file SubstitutionRegister.h.
References vSubReg_.
Referenced by getTypeName().
|
inlineoverridevirtualinherited |
Implements bpp::SubstitutionRegisterInterface.
Definition at line 131 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::stateMap_.
|
inlineoverridevirtual |
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::SubstitutionRegisterInterface.
Definition at line 318 of file SubstitutionRegister.h.
References vSubReg_.
|
inlineoverridevirtual |
names of the types are the list of their types in the registers (separated with _).
Implements bpp::SubstitutionRegisterInterface.
Definition at line 356 of file SubstitutionRegister.h.
References getNumberOfSubstitutionTypes(), and vSubReg_.
|
inlineoverridevirtualinherited |
Implements bpp::SubstitutionRegisterInterface.
Definition at line 129 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::stateMap_.
Referenced by addRegister(), bpp::ComprehensiveSubstitutionRegister::ComprehensiveSubstitutionRegister(), bpp::GCSynonymousSubstitutionRegister::getType(), bpp::GCPositionSubstitutionRegister::getType(), bpp::TsTvSubstitutionRegister::getType(), bpp::SWSubstitutionRegister::getType(), bpp::DnDsSubstitutionRegister::getType(), bpp::KrKcSubstitutionRegister::getType(), bpp::SelectedSubstitutionRegister::SelectedSubstitutionRegister(), bpp::CategorySubstitutionRegister::setAlphabetCategories(), bpp::CategorySubstitutionRegister::setModelCategories(), bpp::AAInteriorSubstitutionRegister::updateMatrix_(), and bpp::AAExteriorSubstitutionRegister::updateMatrix_().
|
protectedinherited |
Definition at line 108 of file SubstitutionRegister.h.
Referenced by bpp::AbstractSubstitutionRegister::getName(), and bpp::AbstractSubstitutionRegister::operator=().
|
protectedinherited |
Definition at line 107 of file SubstitutionRegister.h.
Referenced by bpp::AbstractSubstitutionRegister::alphabet(), bpp::AbstractSubstitutionRegister::getAlphabet(), bpp::AbstractSubstitutionRegister::getStateMap(), bpp::AbstractSubstitutionRegister::operator=(), and bpp::AbstractSubstitutionRegister::stateMap().
|
private |
the vector of pointers to SubstitutionRegisters.
Definition at line 287 of file SubstitutionRegister.h.
Referenced by addRegister(), getNumberOfSubstitutionTypes(), getType(), and getTypeName().