| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final double | Returns: the LCS distance between strings s1 and s2, computed as |s1| + |s2| - 2 * |LCS(s1, s2)|The first string to compare. s1, final String The second string to compare. s2)Implements info. Return the LCS distance between strings s1 and s2, computed as |s1| + |s2| - 2 * |LCS(s1, s2)|. |
| public final int |
| LongestCommonSubsequence | back to summary |
|---|---|
| public LongestCommonSubsequence() | |
| distance | back to summary |
|---|---|
| public final double distance(final String s1, final String s2) Implements info. Return the LCS distance between strings s1 and s2, computed as |s1| + |s2| - 2 * |LCS(s1, s2)|.
| |
| length | back to summary |
|---|---|
| public final int length(final String s1, final String s2) Return the length of Longest Common Subsequence (LCS) between strings s1 and s2.
| |