Longest common subsequence: Difference between revisions

Content deleted Content added
CNHume (talk | contribs)
Simplified Diff class
CNHume (talk | contribs)
Renamed LCS() method to Pairs()
Line 395:
typedef vector<uint32_t> THRESHOLD;
 
Pair* LCSPairs(MATCHES& matches) {
PAIRS traces;
THRESHOLD threshold;
Line 463:
MATCHES matches; // holds references into indexes
Match(indexes, matches, s1, s2);
auto pairs = LCSPairs(matches); // obtain the LCS as index pairs
 
string buffer;