finished the first draft of manpage

This commit is contained in:
Heng Li
2017-07-01 11:25:54 -04:00
parent a9f089f0aa
commit 2338e887d9
3 changed files with 152 additions and 9 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ int mm_chain_dp(int max_dist, int bw, int max_skip, int min_cnt, int min_sc, int
dd = dr > dq? dr - dq : dq - dr;
if (dd > bw) continue;
sc = dq > q_span && dr > q_span? q_span : dq < dr? dq : dr;
sc = f[j] + sc - (dd? ilog2_32(dd) : 0);
sc = f[j] + sc - (dd? ilog2_32(dd) : 0); // TODO: consider to also penalize the shortest distance
if (sc > max_f) max_f = sc, max_j = j;
}
if (max_j >= 0) f[i] = max_f, p[i] = max_j;