Home
last modified time | relevance | path

Searched refs:totalCost (Results 1 – 1 of 1) sorted by relevance

/sqlite-3.40.0/ext/misc/
H A Dspellfix.c449 int totalCost, insCost, delCost, subCost, ncx; in editdist1() local
464 totalCost = insCost + m[xB-1]; in editdist1()
466 if( (delCost + m[xB])<totalCost ){ in editdist1()
467 totalCost = delCost + m[xB]; in editdist1()
470 if( (subCost + d)<totalCost ){ in editdist1()
471 totalCost = subCost + d; in editdist1()
478 insCost, delCost, subCost, totalCost, ncx?ncx:' '); in editdist1()
484 m[xB] = totalCost; in editdist1()