| 
    bpp-phyl
    2.2.0
    
   | 
 
Distinguishes transitions from transversions. More...
#include <Bpp/Phyl/Mapping/SubstitutionRegister.h>
 Inheritance diagram for bpp::TsTvSubstitutionRegister:
 Collaboration diagram for bpp::TsTvSubstitutionRegister:Public Member Functions | |
| TsTvSubstitutionRegister (const NucleotideSubstitutionModel *model) | |
| TsTvSubstitutionRegister * | clone () const | 
| 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_ | 
Distinguishes transitions from transversions.
This register has two substitution types, mapped as:
Definition at line 806 of file SubstitutionRegister.h.
      
  | 
  inline | 
Definition at line 810 of file SubstitutionRegister.h.
Referenced by clone().
      
  | 
  inlinevirtual | 
Implements bpp::SubstitutionRegister.
Definition at line 814 of file SubstitutionRegister.h.
References TsTvSubstitutionRegister().
      
  | 
  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 817 of file SubstitutionRegister.h.
      
  | 
  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 819 of file SubstitutionRegister.h.
References bpp::SubstitutionModel::getAlphabetStateAsInt(), and bpp::AbstractSubstitutionRegister::model_.
      
  | 
  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 833 of file SubstitutionRegister.h.
      
  | 
  protectedinherited | 
Definition at line 125 of file SubstitutionRegister.h.
Referenced by bpp::AbstractSubstitutionRegister::getAlphabet(), bpp::CategorySubstitutionRegister::getCategory(), bpp::AbstractSubstitutionRegister::getSubstitutionModel(), bpp::CategorySubstitutionRegister::getType(), getType(), bpp::DnDsSubstitutionRegister::getType(), bpp::GCSynonymousSubstitutionRegister::getType(), bpp::AbstractSubstitutionRegister::operator=(), bpp::SelectedSubstitutionRegister::SelectedSubstitutionRegister(), and bpp::CategorySubstitutionRegister::setCategories().