DIAlign
affinealignment.h
1 #ifndef AFFINEALIGNMENT_H
2 #define AFFINEALIGNMENT_H
3 
4 #include "affinealignobj.h"
5 #include "alignment.h"
6 #include "utils.h"
7 #include "similarityMatrix.h"
8 #include <limits>
9 
15 namespace DIAlign
16 {
18 namespace AffineAlignment
19 {
35 void doAffineAlignment(AffineAlignObj&, const SimMatrix& s, double go, double ge, bool OverlapAlignment);
36 
49 void getAffineAlignedIndices(AffineAlignObj &affineAlignObj, int bandwidth = 0);
50 
68 double getOlapAffineAlignStartIndices(double* MatrixM, double* MatrixA, double* MatrixB,
69  int ROW_SIZE, int COL_SIZE, int &OlapStartRow,
70  int &OlapStartCol, Traceback::tbJump &MatrixName);
71 
76 void fillSimPath(bool* simPath, int bandwidth, int ROW_IDX, int COL_IDX, int ROW_SIZE, int COL_SIZE);
77 
82 double getForwardSim(const SimMatrix& s, bool* simPath);
83 } // namespace AffineAlignment
84 } // namespace DIAlign
85 
86 #endif // AFFINEALIGNMENT_H
87 
tbJump
cumulative score-matrix names
Definition: affinealignobj.h:27
double getForwardSim(const SimMatrix &s, bool *simPath)
Not needed will be removed.
Definition: affinealignment.cpp:500
double getOlapAffineAlignStartIndices(double *MatrixM, double *MatrixA, double *MatrixB, int ROW_SIZE, int COL_SIZE, int &OlapStartRow, int &OlapStartCol, tbJump &MatrixName)
Calculates the start indices and matrix for the alignment path and returns associated score...
Definition: affinealignment.cpp:432
void getAffineAlignedIndices(AffineAlignObj &affineAlignObj, int bandwidth)
Calculates aligned indices for source signal A and B, additionaly, builds an alignment path matrix wi...
Definition: affinealignment.cpp:193
void fillSimPath(bool *simPath, int bandwidth, int ROW_IDX, int COL_IDX, int ROW_SIZE, int COL_SIZE)
Not needed will be removed.
Definition: affinealignment.cpp:487
Generic namespace for all classes and functions of DIAlign.
Definition: affinealignment.cpp:29
void doAffineAlignment(AffineAlignObj &affineAlignObj, const SimMatrix &s, double go, double ge, bool OverlapAlignment)
Performs affine alignment on similarity-score matrix DIAlign::SimMatrix and fills M...
Definition: affinealignment.cpp:38