Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit b9bfe80d authored by Mathieu Giraud's avatar Mathieu Giraud

core/dyprog.cpp: GlobalButMostlyLocal on affine gaps

parent e479f61e
......@@ -226,8 +226,13 @@ void DynProg::init()
B[i][0].score = Bins[i][0].score ;
}
if (mode == GlobalButMostlyLocal)
if (mode == GlobalButMostlyLocal) {
B[i][0].score /= 2;
if (cost.affine_gap) {
Bins[i][0].score -= cost.open_insertion / 2 ;
B[i][0].score = Bins[i][0].score ;
}
}
}
if (!(mode == SemiGlobal || mode == SemiGlobalTrans || mode == Local || mode == LocalEndWithSomeDeletions)) // Global
......@@ -239,8 +244,13 @@ void DynProg::init()
B[0][j].score = Bdel[0][j].score;
}
if (mode == GlobalButMostlyLocal)
if (mode == GlobalButMostlyLocal) {
B[0][j].score /= 2;
if (cost.affine_gap) {
Bdel[0][j].score -= cost.open_deletion / 2 ;
B[0][j].score = Bdel[0][j].score;
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment