[ Lib_General64 | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
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(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)
~DynProg2D() ;
Function is currently defined inline.
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.
void setRelationGAPi(int i_iI,float i_fRelation) ;
inline void setRelationGAPi(int i_iI,float i_fRelation) ;
Function is currently defined inline.
void setRelationGAPj(int i_iJ,float i_fRelation) ;
inline void setRelationGAPj(int i_iJ,float i_fRelation) ;
Function is currently defined inline.
O(n^2)
void getGlobalAlignmentGenGap(vector< pair< int,int> >& o_vPair, float& o_fMaxScore, bool bEndsFree=false);
static const float NOT_MATCH;//=-numeric_limits<float>::max();//-3.40282347e+38F;//-MAXFLOAT
const float m_fOpenGapPenalty;
const float m_fOpenGapPenalty;
const float m_fGapPenalty;
enum DIRECTION {LEFT,TOP,DIAGONAL,NONE,TOP_GAP_OPEN,LEFT_GAP_OPEN};
struct MElement{ float m_fV; DIRECTION m_Direction; bool m_E_gap_open; bool m_F_gap_open;
float* m_fRelationMtrx;
MElement* m_fScoreMtrx;
int m_iN,m_iM;
float *m_fRelationGAPi;
float *m_fRelationGAPj;
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; |
Report problems to jkotula@unimax.com