Searched refs:curCost (Results 1 – 1 of 1) sorted by relevance
95 int[] curCost = new int[numB + 1]; in editDistance() local101 curCost[0] = endA; in editDistance()104 curCost[endB] = min( in editDistance()105 curCost[endB - 1] + 1, // append item from b in editDistance()109 int[] tmp = curCost; in editDistance()110 curCost = prevCost; in editDistance()