reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/edit_distance.h
   65     Row = new unsigned[n + 1];
   66     Allocated.reset(Row);
   70     Row[i] = i;
   73     Row[0] = y;
   74     unsigned BestThisRow = Row[0];
   78       int OldRow = Row[x];
   80         Row[x] = std::min(
   82             std::min(Row[x-1], Row[x])+1);
   82             std::min(Row[x-1], Row[x])+1);
   85         if (FromArray[y-1] == ToArray[x-1]) Row[x] = Previous;
   86         else Row[x] = std::min(Row[x-1], Row[x]) + 1;
   86         else Row[x] = std::min(Row[x-1], Row[x]) + 1;
   86         else Row[x] = std::min(Row[x-1], Row[x]) + 1;
   89       BestThisRow = std::min(BestThisRow, Row[x]);
   96   unsigned Result = Row[n];