Liking cljdoc? Tell your friends :D

lambdaisland.clj-diff.miller

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.
raw docstring

diffclj/smultimethod

(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.
sourceraw docstring

edit-distclj/s

(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.
sourceraw docstring

edit-distanceclj/smultimethod

source

longest-common-subseqclj/smultimethod

source

order->sesclj/s

(order->ses a b)
source

seq-diffclj/s

(seq-diff a b)
source

seq-edit-distclj/s

(seq-edit-dist a b)
source

seq-lcsclj/s

(seq-lcs a b)
source

sesclj/s

(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.
sourceraw docstring

string-dispatchclj/s

(string-dispatch a b)
source

vectorizeclj/s

(vectorize & more)
source

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

× close