SubstWeightMatrix Class Reference

position-independet substitution weight matrix More...

#include <subst_weight_matrix.hh>


Public Types

typedef short WeightType

Public Member Functions

 SubstWeightMatrix ()
WeightType GetWeight (char aa_one, char aa_two) const
void SetWeight (char aa_one, char aa_two, WeightType weight)

Static Public Attributes

static const int ALPHABET_SIZE = 'Z'-'A'+1


Detailed Description

position-independet substitution weight matrix

Definition at line 37 of file subst_weight_matrix.hh.


Member Typedef Documentation

typedef short WeightType

Definition at line 40 of file subst_weight_matrix.hh.


Constructor & Destructor Documentation

SubstWeightMatrix (  )  [inline]

Initialize substitution matrix with zero.

In order to get a useful substitution weight matrix, use SetWeight(). Alternatively you may want to load the substitution from an info group.

Definition at line 46 of file subst_weight_matrix.hh.


Member Function Documentation

WeightType GetWeight ( char  aa_one,
char  aa_two 
) const [inline]

Definition at line 50 of file subst_weight_matrix.hh.

void SetWeight ( char  aa_one,
char  aa_two,
WeightType  weight 
) [inline]

Definition at line 57 of file subst_weight_matrix.hh.


Field Documentation

const int ALPHABET_SIZE = 'Z'-'A'+1 [static]

Definition at line 41 of file subst_weight_matrix.hh.


The documentation for this class was generated from the following file:

Generated on Fri Jul 2 14:23:08 2010 for OpenStructure by  doxygen 1.5.8