Searched refs:prevCost (Results 1 – 1 of 1) sorted by relevance
91 int[] prevCost = new int[numB + 1]; in editDistance() local93 prevCost[i] = i; in editDistance()106 prevCost[endB] + 1, // append item from a in editDistance()107 prevCost[endB - 1] + (endsMatch ? 0 : 1)); // match or replace item in editDistance()110 curCost = prevCost; in editDistance()111 prevCost = tmp; in editDistance()113 return prevCost[numB]; in editDistance()