reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
662 for (SNodeId D1 = LMD1 + 1; D1 <= Id1; ++D1) { 662 for (SNodeId D1 = LMD1 + 1; D1 <= Id1; ++D1) { 663 ForestDist[D1][LMD2] = ForestDist[D1 - 1][LMD2] + DeletionCost; 663 ForestDist[D1][LMD2] = ForestDist[D1 - 1][LMD2] + DeletionCost; 666 SNodeId DLMD1 = S1.getLeftMostDescendant(D1); 669 double UpdateCost = getUpdateCost(D1, D2); 670 ForestDist[D1][D2] = 671 std::min({ForestDist[D1 - 1][D2] + DeletionCost, 672 ForestDist[D1][D2 - 1] + InsertionCost, 673 ForestDist[D1 - 1][D2 - 1] + UpdateCost}); 674 TreeDist[D1][D2] = ForestDist[D1][D2]; 674 TreeDist[D1][D2] = ForestDist[D1][D2]; 676 ForestDist[D1][D2] = 677 std::min({ForestDist[D1 - 1][D2] + DeletionCost, 678 ForestDist[D1][D2 - 1] + InsertionCost, 679 ForestDist[DLMD1][DLMD2] + TreeDist[D1][D2]});