44 #define STRUCT_DP_FOUND_ALIGNMENT 1
45 #define STRUCT_DP_NO_ALIGNMENT 2
46 #define STRUCT_DP_PARAMETER_ERROR 3
47 #define STRUCT_DP_ALGORITHM_ERROR 4
48 #define STRUCT_DP_OKAY 5
92 unsigned int nLoops,
const unsigned int *loopLengths,
93 double percentile,
unsigned int extension,
unsigned int cutoff);
118 unsigned int queryFrom,
119 unsigned int queryTo,
129 unsigned int queryFrom,
130 unsigned int queryTo,
150 unsigned int queryFrom,
151 unsigned int queryTo,
153 unsigned int maxAlignments
166 unsigned int queryFrom,
167 unsigned int queryTo,
178 unsigned int queryFrom,
179 unsigned int queryTo,
190 unsigned int queryFrom,
191 unsigned int queryTo,
193 unsigned int maxAlignments
#define NCBI_STRUCTDP_EXPORT
unsigned int
A callback function used to compare two keys in a database.
unsigned int * blockPositions
unsigned int * freezeBlocks
unsigned int * blockPositions
unsigned int * blockSizes
DP_AlignmentResult * alignments
int DP_LocalBlockAlign(const DP_BlockInfo *blocks, DP_BlockScoreFunction BlockScore, unsigned int queryFrom, unsigned int queryTo, DP_AlignmentResult **alignment)
int DP_MultipleLocalBlockAlignGeneric(const DP_BlockInfo *blocks, DP_BlockScoreFunction BlockScore, DP_LoopPenaltyFunction LoopScore, unsigned int queryFrom, unsigned int queryTo, DP_MultipleAlignmentResults **alignments, unsigned int maxAlignments)
void DP_DestroyBlockInfo(DP_BlockInfo *blocks)
unsigned int DP_CalculateMaxLoopLength(unsigned int nLoops, const unsigned int *loopLengths, double percentile, unsigned int extension, unsigned int cutoff)
int DP_GlobalBlockAlignGeneric(const DP_BlockInfo *blocks, DP_BlockScoreFunction BlockScore, DP_LoopPenaltyFunction LoopScore, unsigned int queryFrom, unsigned int queryTo, DP_AlignmentResult **alignment)
int DP_GlobalBlockAlign(const DP_BlockInfo *blocks, DP_BlockScoreFunction BlockScore, unsigned int queryFrom, unsigned int queryTo, DP_AlignmentResult **alignment)
unsigned int(* DP_LoopPenaltyFunction)(unsigned int loopNumber, unsigned int loopLength)
static const unsigned int DP_POSITIVE_INFINITY
static const int DP_NEGATIVE_INFINITY
int(* DP_BlockScoreFunction)(unsigned int block, unsigned int queryPos)
static const unsigned int DP_UNFROZEN_BLOCK
void DP_DestroyAlignmentResult(DP_AlignmentResult *alignment)
void DP_DestroyMultipleAlignmentResults(DP_MultipleAlignmentResults *alignments)
int DP_LocalBlockAlignGeneric(const DP_BlockInfo *blocks, DP_BlockScoreFunction BlockScore, DP_LoopPenaltyFunction LoopScore, unsigned int queryFrom, unsigned int queryTo, DP_AlignmentResult **alignment)
DP_BlockInfo * DP_CreateBlockInfo(unsigned int nBlocks)
int DP_MultipleLocalBlockAlign(const DP_BlockInfo *blocks, DP_BlockScoreFunction BlockScore, unsigned int queryFrom, unsigned int queryTo, DP_MultipleAlignmentResults **alignments, unsigned int maxAlignments)
static DP_BlockInfo * blocks