Home
last modified time | relevance | path

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

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.kt43 val distTab = mDistanceTable in calculate() constant
50 var distance = distTab[s - 1][t] + 1 in calculate()
52 var d = distTab[s][t - 1] in calculate()
57 d = distTab[s - 1][t - 1] in calculate()
62 distTab[s][t] = distance in calculate()
66 return distTab[sourceLen][targetLen] in calculate()
149 val distTab = Array(sourceSize + 1) { IntArray(targetSize + 1) } in <lambda>() constant
151 distTab[0][0] = 0
154 distTab[i][0] = i in i()
158 distTab[0][i] = i in i()
[all …]