replaced --approx-ext with --sr

--sr disables Z-drop and may come with other heurstics
This commit is contained in:
Heng Li
2017-09-20 10:51:18 -04:00
parent 4979e66ff0
commit 7a9b4db874
5 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
mo->min_dp_max = 200;
} else if (strcmp(preset, "short") == 0 || strcmp(preset, "sr") == 0) {
io->is_hpc = 0, io->k = 21, io->w = 11;
mo->flag |= MM_F_APPROX_EXT;
mo->flag |= MM_F_SR;
mo->a = 2, mo->b = 8, mo->q = 12, mo->e = 2, mo->q2 = 32, mo->e2 = 1;
mo->max_gap = 100;
mo->pri_ratio = 0.5f;