| 
    bpp-phyl
    2.2.0
    
   | 
 
Indexes only substitutions between amino-acids. Groups are distinguished by their direction. More...
#include <Bpp/Phyl/Mapping/SubstitutionRegister.h>
 Inheritance diagram for bpp::AAExteriorSubstitutionRegister:
 Collaboration diagram for bpp::AAExteriorSubstitutionRegister:Public Member Functions | |
| AAExteriorSubstitutionRegister (const CodonSubstitutionModel *model) | |
| AAExteriorSubstitutionRegister * | clone () const | 
| ~AAExteriorSubstitutionRegister () | |
| std::string | getTypeName (size_t type) const | 
| names of the types are their number.  More... | |
| size_t | getType (size_t i, size_t j) const | 
| Get the substitution type far a given pair of model states.  More... | |
| size_t | getNumberOfSubstitutionTypes () const | 
| const SubstitutionModel * | getSubstitutionModel () const | 
| const Alphabet * | getAlphabet () const | 
Protected Member Functions | |
| void | updateTypes_ () | 
Protected Attributes | |
| size_t | size_ | 
| The size of the matrix, i.e. the number of states.  More... | |
| RowMatrix< size_t > | matrix_ | 
| The matrix of the substitution register.  More... | |
| std::map< size_t, std::map< size_t, std::vector< size_t > > > | types_ | 
| The map from substitution types to the map of from states to the vector of target states.  More... | |
| const SubstitutionModel * | model_ | 
Private Attributes | |
| std::map< std::string, size_t > | categoryCorrespondance_ | 
Indexes only substitutions between amino-acids. Groups are distinguished by their direction.
Definition at line 710 of file SubstitutionRegister.h.
      
  | 
  inline | 
Definition at line 716 of file SubstitutionRegister.h.
References categoryCorrespondance_, bpp::SubstitutionModel::getAlphabet(), bpp::CodonSubstitutionModel::getGeneticCode(), bpp::GeneralSubstitutionRegister::matrix_, and bpp::GeneralSubstitutionRegister::updateTypes_().
Referenced by clone().
      
  | 
  inline | 
Definition at line 756 of file SubstitutionRegister.h.
      
  | 
  inlinevirtual | 
Reimplemented from bpp::GeneralSubstitutionRegister.
Definition at line 754 of file SubstitutionRegister.h.
References AAExteriorSubstitutionRegister().
      
  | 
  inlinevirtualinherited | 
Implements bpp::SubstitutionRegister.
Definition at line 147 of file SubstitutionRegister.h.
References bpp::SubstitutionModel::getAlphabet(), and bpp::AbstractSubstitutionRegister::model_.
      
  | 
  inlinevirtualinherited | 
Implements bpp::SubstitutionRegister.
Definition at line 544 of file SubstitutionRegister.h.
References bpp::GeneralSubstitutionRegister::types_.
      
  | 
  inlinevirtualinherited | 
Implements bpp::SubstitutionRegister.
Definition at line 145 of file SubstitutionRegister.h.
References bpp::AbstractSubstitutionRegister::model_.
      
  | 
  inlinevirtualinherited | 
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 539 of file SubstitutionRegister.h.
References bpp::GeneralSubstitutionRegister::matrix_.
      
  | 
  inlinevirtual | 
names of the types are their number.
Reimplemented from bpp::GeneralSubstitutionRegister.
Definition at line 758 of file SubstitutionRegister.h.
References categoryCorrespondance_, and bpp::GeneralSubstitutionRegister::types_.
      
  | 
  protectedinherited | 
Definition at line 45 of file SubstitutionRegister.cpp.
Referenced by AAExteriorSubstitutionRegister(), bpp::AAInteriorSubstitutionRegister::AAInteriorSubstitutionRegister(), bpp::GeneralSubstitutionRegister::GeneralSubstitutionRegister(), and bpp::SelectedSubstitutionRegister::SelectedSubstitutionRegister().
      
  | 
  private | 
Definition at line 713 of file SubstitutionRegister.h.
Referenced by AAExteriorSubstitutionRegister(), and getTypeName().
      
  | 
  protectedinherited | 
The matrix of the substitution register.
Definition at line 486 of file SubstitutionRegister.h.
Referenced by AAExteriorSubstitutionRegister(), bpp::AAInteriorSubstitutionRegister::AAInteriorSubstitutionRegister(), bpp::GeneralSubstitutionRegister::GeneralSubstitutionRegister(), bpp::GeneralSubstitutionRegister::getType(), bpp::GeneralSubstitutionRegister::operator=(), and bpp::SelectedSubstitutionRegister::SelectedSubstitutionRegister().
      
  | 
  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().
      
  | 
  protectedinherited | 
The size of the matrix, i.e. the number of states.
Definition at line 480 of file SubstitutionRegister.h.
Referenced by bpp::GeneralSubstitutionRegister::GeneralSubstitutionRegister(), and bpp::GeneralSubstitutionRegister::operator=().
      
  | 
  protectedinherited | 
The map from substitution types to the map of from states to the vector of target states.
This is the reverse information of matrix_
Definition at line 496 of file SubstitutionRegister.h.
Referenced by bpp::GeneralSubstitutionRegister::getNumberOfSubstitutionTypes(), bpp::GeneralSubstitutionRegister::getTypeName(), bpp::SelectedSubstitutionRegister::getTypeName(), bpp::AAInteriorSubstitutionRegister::getTypeName(), getTypeName(), and bpp::GeneralSubstitutionRegister::operator=().