| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: the OSA distanceThe first string to compare. s1, final String The second string to compare. s2)Implements info. Compute the distance between strings: the minimum number of operations needed to transform one string into the other (insertion, deletion, substitution of a single character, or a transposition of two adjacent characters) while no substring is edited more than once. |
| private static int |
| OptimalStringAlignment | back to summary |
|---|---|
| public OptimalStringAlignment() | |
| distance | back to summary |
|---|---|
| public double distance(final String s1, final String s2) Implements info. Compute the distance between strings: the minimum number of operations needed to transform one string into the other (insertion, deletion, substitution of a single character, or a transposition of two adjacent characters) while no substring is edited more than once.
| |
| min | back to summary |
|---|---|
| private static int min(final int a, final int b, final int c) | |