StringAlgorithmsLevenshteinDistanceRef Method |
Calculate the Levenshtein distance between two strings, i.e.
the minimum number of edits in order to make the two strings equal
Reference implementation that stores the entire distance matrix
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static int LevenshteinDistanceRef(
string s,
string t
)
Parameters
- s
- Type: SystemString
- t
- Type: SystemString
Return Value
Type:
Int320 if strings equals, a positive value if they differ
See Also