4 #include "textfile.h"
\r
11 TICKS g_ticksDP = 0;
\r
14 SCORE GlobalAlign(const ProfPos *PA, unsigned uLengthA, const ProfPos *PB,
\r
15 unsigned uLengthB, PWPath &Path)
\r
18 TICKS t1 = GetClockTicks();
\r
22 Score = GlobalAlignDiags(PA, uLengthA, PB, uLengthB, Path);
\r
24 Score = GlobalAlignNoDiags(PA, uLengthA, PB, uLengthB, Path);
\r
26 TICKS t2 = GetClockTicks();
\r
27 g_ticksDP += (t2 - t1);
\r
32 SCORE GlobalAlignNoDiags(const ProfPos *PA, unsigned uLengthA, const ProfPos *PB,
\r
33 unsigned uLengthB, PWPath &Path)
\r
36 return GlobalAlignDimer(PA, uLengthA, PB, uLengthB, Path);
\r
41 return GlobalAlignLE(PA, uLengthA, PB, uLengthB, Path);
\r
45 return GlobalAlignSP(PA, uLengthA, PB, uLengthB, Path);
\r
48 return GlobalAlignSPN(PA, uLengthA, PB, uLengthB, Path);
\r
51 Quit("Invalid PP score (GlobalAlignNoDiags)");
\r