DynProg2D


[ Lib_General64 | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

KEYWORD
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class DynProg2D
{
public:
DynProg2D(int i_iN,int i_iM, float i_fOpenGapPenalty , float i_fGapPenalty );
~DynProg2D() ;
void setRelation(int i_iI,int i_iJ,float i_fRelation) ;
void setRelationGAPi(int i_iI,float i_fRelation) ;
void setRelationGAPj(int i_iJ,float i_fRelation) ;
void getGlobalAlignmentGenGap(vector< pair< int,int> >& o_vPair, float& o_fMaxScore, bool bEndsFree );
static const float NOT_MATCH;
const float m_fOpenGapPenalty;
const float m_fGapPenalty;
protected:
enum DIRECTION ;
struct MElement
float* m_fRelationMtrx;
MElement* m_fScoreMtrx;
int m_iN,m_iM;
float *m_fRelationGAPi;
float *m_fRelationGAPj;
}; // DynProg2D

Back to the top of DynProg2D


KEYWORD

Back to the top of DynProg2D


AUTHORS

Back to the top of DynProg2D


CHANGES LOG

Back to the top of DynProg2D


GOALS

Back to the top of DynProg2D

		

USAGE

		

Back to the top of DynProg2D


DynProg2D(int i_iN,int i_iM, float i_fOpenGapPenalty , float i_fGapPenalty );

relation matrix is initialized, O(n*m array allocation)

  DynProg2D(int i_iN,int i_iM, float i_fOpenGapPenalty=-11,  float i_fGapPenalty=-1); //default for BLOSUM62 (taken from Blastp)

Back to the top of DynProg2D


~DynProg2D() ;

  ~DynProg2D()                                                                                                                  
;

Function is currently defined inline.


Back to the top of DynProg2D


void setRelation(int i_iI,int i_iJ,float i_fRelation) ;

if relation value is negative (setRelation) symbols will not be aligned (gaps will be inserted)

  inline void setRelation(int i_iI,int i_iJ,float i_fRelation)                                                        
;

Function is currently defined inline.


Back to the top of DynProg2D


void setRelationGAPi(int i_iI,float i_fRelation) ;

  inline void setRelationGAPi(int i_iI,float i_fRelation)                                            
;

Function is currently defined inline.


Back to the top of DynProg2D


void setRelationGAPj(int i_iJ,float i_fRelation) ;

  inline void setRelationGAPj(int i_iJ,float i_fRelation)                                            
;

Function is currently defined inline.


Back to the top of DynProg2D


void getGlobalAlignmentGenGap(vector< pair< int,int> >& o_vPair, float& o_fMaxScore, bool bEndsFree );

O(n^2)

  void getGlobalAlignmentGenGap(vector< pair< int,int> >& o_vPair,
				float& o_fMaxScore, bool bEndsFree=false);

Back to the top of DynProg2D


const float NOT_MATCH;

  static const float NOT_MATCH;//=-numeric_limits<float>::max();//-3.40282347e+38F;//-MAXFLOAT

Back to the top of DynProg2D


const float m_fOpenGapPenalty;

  const float m_fOpenGapPenalty;

Back to the top of DynProg2D


const float m_fGapPenalty;

  const float m_fGapPenalty;

Back to the top of DynProg2D


enum DIRECTION ;

  enum DIRECTION {LEFT,TOP,DIAGONAL,NONE,TOP_GAP_OPEN,LEFT_GAP_OPEN};

Back to the top of DynProg2D


struct MElement

  struct MElement{
    float m_fV;
    DIRECTION m_Direction;
    bool m_E_gap_open;
    bool m_F_gap_open;

Back to the top of DynProg2D


float* m_fRelationMtrx;

  float* m_fRelationMtrx;

Back to the top of DynProg2D


MElement* m_fScoreMtrx;

  MElement* m_fScoreMtrx;

Back to the top of DynProg2D


int m_iN,m_iM;

  int m_iN,m_iM;

Back to the top of DynProg2D


float *m_fRelationGAPi;

  float *m_fRelationGAPi;

Back to the top of DynProg2D


float *m_fRelationGAPj;

  float *m_fRelationGAPj;

Back to the top of DynProg2D


All Members

public:
void setRelation(int i_iI,int i_iJ,float i_fRelation) ;
void setRelationGAPi(int i_iI,float i_fRelation) ;
void setRelationGAPj(int i_iJ,float i_fRelation) ;
void getGlobalAlignmentGenGap(vector< pair< int,int> >& o_vPair, float& o_fMaxScore, bool bEndsFree );
static const float NOT_MATCH;
const float m_fOpenGapPenalty;
const float m_fGapPenalty;
protected:
enum DIRECTION ;
struct MElement
float* m_fRelationMtrx;
MElement* m_fScoreMtrx;
int m_iN,m_iM;
float *m_fRelationGAPi;
float *m_fRelationGAPj;

Back to the top of DynProg2D


Ancestors

Class does not inherit from any other class.

Back to the top of DynProg2D


Descendants

Back to the top of DynProg2D


Generated from source by the Cocoon utilities on Tue Jan 5 18:47:29 2010 .

Report problems to jkotula@unimax.com