Lines Matching refs:Row
485 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & {
487 assert(Row < Rows);
488 return Distances[Row * Columns + Column];
498 auto VisitNode = [&](const Node &N, std::size_t Row,
505 Get(0, Row) = Row;
508 const int Delete = Get(I - 1, Row) + 1;
509 const int Insert = Get(I, Row - 1) + 1;
512 Get(I - 1, Row - 1) + (NormalizedName[I - 1] != N.Name[J] ? 1 : 0);
514 Get(I, Row) = std::min(Insert, std::min(Delete, Replace));
517 Row++;
520 unsigned Cost = Get(Columns - 1, Row - 1);
532 VisitNode(C, Row, VisitNode);