mirror of
https://github.com/dlang/phobos.git
synced 2025-05-07 19:49:36 +03:00
std.algo.cmp.levenshteinandpath docu
* Params * Returns quickfur
This commit is contained in:
parent
e1d2c9e4ab
commit
dc7c431653
1 changed files with 9 additions and 0 deletions
|
@ -1159,6 +1159,15 @@ size_t levenshteinDistance(alias equals = "a == b", Range1, Range2)
|
||||||
Returns the Levenshtein distance and the edit path between $(D s) and
|
Returns the Levenshtein distance and the edit path between $(D s) and
|
||||||
$(D t).
|
$(D t).
|
||||||
|
|
||||||
|
Params:
|
||||||
|
equals = The binary predicate to compare the elements of the two ranges.
|
||||||
|
s = The original range.
|
||||||
|
t = The transformation target
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
The minimal amount of edits to transform s into t and the sequence of
|
||||||
|
edits to effect this transformation.
|
||||||
|
|
||||||
Allocates GC memory.
|
Allocates GC memory.
|
||||||
*/
|
*/
|
||||||
Tuple!(size_t, EditOp[])
|
Tuple!(size_t, EditOp[])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue