Commit cfe8f633 authored by WebTogz's avatar WebTogz

core/: fix Levenshtein's name

parent a0e74c0a
......@@ -55,7 +55,7 @@ const Cost IdentityToto= Cost(+1, -1, -1); // avec seuil de length-2: un homopol
/* const Cost Identity = Cost(+1, 0, 0); */
const Cost IdentityDirty = Cost(+1000, -1, -1); // pour avoir une estimation de longueur de l'alignement, utilise dans compare-all
const Cost Hamming = Cost(0, -1, MINUS_INF);
const Cost Levensthein = Cost(0, -1, -1);
const Cost Levenshtein = Cost(0, -1, -1);
const Cost Cluster = Cost(+1, -4, -4, 0, 0);
//const Cost Hamming = Cost();
......
......@@ -209,7 +209,7 @@ int main (int argc, char **argv)
tag = "\t" + string(basename(ch));
}
// const Cost countCost = Levensthein ;
// const Cost countCost = Levenshtein ;
const Cost countCost = Cost(0, -2, -2, 0, -1);
out << "# using cost " << countCost << endl ;
......
......@@ -80,7 +80,7 @@ int main(int argc, char* argv[])
<< " 4 IdentityToto" << endl
<< " 5 IdentityDirty" << endl
<< " 6 Hamming" << endl
<< " 7 Levensthein" << endl
<< " 7 Levenshtein" << endl
<< " 8 Cluster" << endl
<<endl;
......@@ -117,7 +117,7 @@ int main(int argc, char* argv[])
if ( cost == 4) dpCost = IdentityToto;
if ( cost == 5) dpCost = IdentityDirty;
if ( cost == 6) dpCost = Hamming;
if ( cost == 7) dpCost = Levensthein;
if ( cost == 7) dpCost = Levenshtein;
if ( cost == 8) dpCost = Cluster;
i++;
break;
......
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