Liking cljdoc? Tell your friends :D

Clojure only.

Algorithm from 'An O(NP) Sequence Comparison Algorithm' by Sun Wu, Udi Manber, Gene Myers and Web Miller.

Please refer to the above paper while reading this code.

Algorithm from 'An O(NP) Sequence Comparison Algorithm' by Sun Wu, Udi Manber, Gene Myers and Web Miller. Please refer to the above paper while reading this code.

`(diff a b)`

Create an edit script that may be used to transform a into b. See doc string for clj-diff.core/diff. This function will ensure that diff* is called with arguments a and b where a >= b. If the passed values of a and b need to be swapped then the resulting path with will transposed.

Create an edit script that may be used to transform a into b. See doc string for clj-diff.core/diff. This function will ensure that diff* is called with arguments a and b where a >= b. If the passed values of a and b need to be swapped then the resulting path with will transposed.

`(edit-dist delta p k)`

Given a delta, p and k value, calculate the edit distance.

Given a delta, p and k value, calculate the edit distance.

`(ses a b)`

Find the size of the shortest edit script (ses). Returns a 3-tuple of the size of the ses, the delta value (which is the diagonal of the sink) and the fp map. The optimal path from source to sink can be constructed from this information.

Find the size of the shortest edit script (ses). Returns a 3-tuple of the size of the ses, the delta value (which is the diagonal of the sink) and the fp map. The optimal path from source to sink can be constructed from this information.

**cljdoc** is a website building & hosting documentation for Clojure/Script libraries