@FunctionalInterface public interface _charDistance
This is useful mostly for string procedure algorithms (e.g. Levenshtein distance).
| Modifier and Type | Method and Description |
|---|---|
float |
distance(char a,
char b)
Calculates the distance of the two given characters.
|
float distance(char a,
char b)
The meaning of the returned value depends on the function implementation and/or the context it is used in.
Typical string similarity values range from 0.0 to 1.0 .
a - the first characterb - the second characterCopyright © 2022 MicroStream Software. All rights reserved.