| 
    bpp-seq
    2.2.0
    
   | 
 
Polarity index used in Grantham (1974). More...
#include <Bpp/Seq/AlphabetIndex/GranthamAAPolarityIndex.h>
 Inheritance diagram for bpp::GranthamAAPolarityIndex:
 Collaboration diagram for bpp::GranthamAAPolarityIndex:Public Member Functions | |
| GranthamAAPolarityIndex () | |
| virtual | ~GranthamAAPolarityIndex () | 
| GranthamAAPolarityIndex * | clone () const | 
| double | getIndex (int state) const throw (BadIntException) | 
| Get the index associated to a state.  More... | |
| double | getIndex (const std::string &state) const throw (BadCharException) | 
| Get the index associated to a state.  More... | |
| std::vector< double > * | getIndexVector () const | 
| const Alphabet * | getAlphabet () const | 
| Get the alphabet associated to this index.  More... | |
Private Attributes | |
| std::vector< double > | polarity_ | 
Polarity index used in Grantham (1974).
Definition at line 67 of file GranthamAAPolarityIndex.h.
      
  | 
  inline | 
Definition at line 74 of file GranthamAAPolarityIndex.h.
References polarity_.
Referenced by clone().
      
  | 
  inlinevirtual | 
Definition at line 100 of file GranthamAAPolarityIndex.h.
      
  | 
  inlinevirtual | 
Implements bpp::AlphabetIndex1.
Definition at line 102 of file GranthamAAPolarityIndex.h.
References GranthamAAPolarityIndex().
      
  | 
  inlinevirtual | 
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 118 of file GranthamAAPolarityIndex.h.
References bpp::AlphabetTools::PROTEIN_ALPHABET.
      
  | 
  inlinevirtual | ||||||||||||||
Get the index associated to a state.
| state | The state to consider, as a int value. | 
Implements bpp::AlphabetIndex1.
Definition at line 105 of file GranthamAAPolarityIndex.h.
References polarity_, and bpp::AlphabetTools::PROTEIN_ALPHABET.
      
  | 
  inlinevirtual | ||||||||||||||
Get the index associated to a state.
| state | The state to consider, as a string value. | 
Implements bpp::AlphabetIndex1.
Definition at line 111 of file GranthamAAPolarityIndex.h.
References bpp::LetterAlphabet::charToInt(), polarity_, and bpp::AlphabetTools::PROTEIN_ALPHABET.
      
  | 
  inlinevirtual | 
Implements bpp::AlphabetIndex1.
Definition at line 116 of file GranthamAAPolarityIndex.h.
References polarity_.
      
  | 
  private | 
Definition at line 71 of file GranthamAAPolarityIndex.h.
Referenced by getIndex(), getIndexVector(), and GranthamAAPolarityIndex().