Professional Documents
Culture Documents
LEGASPI, John
Aside from the generation of the table along with the output of the Levenshtein
Distance, there is also an additional output displaying what happened to the source
string as it is being edited to the target string. With characters R, M, I, and D showing
Replacement of character, Matching character, Including a new character, and Deleting
a character respectively.
Figure 3. Display of edits done to the strings
b) Smith-Waterman Algorithm
The Smith-Waterman Algorithm was based on the earlier model which was the
Needleman-Wunsch algorithm. It is an algorithm that takes alignments of any
length for a character sequence at any location in the sequence. It determines
whether an optimal alignment can be found based on scores, weights which are
assigned to each character that is being compared. Scores are added together
and the highest scoring alignment would be chosen.
It is similar to edit distance but instead of finding the minimum, it is finding the
maximum scores by finding similar parts of the sequences.
References: