(distance P Q)(distance P Q dist-fn)calculate the discrete frechet distance between two curves. P and Q can be arbirtrary sequential collections as long as either the carocad.frechet.protocols/distance protocol is implemented or a function to evaluate the distance between points is provided. dist-fn is an optional function used to evaluate the distance between any two points of P and Q. It defaults to carocad.frechet.protocols/distance
calculate the discrete frechet distance between two curves. P and Q can be arbirtrary sequential collections as long as either the carocad.frechet.protocols/distance protocol is implemented or a function to evaluate the distance between points is provided. dist-fn is an optional function used to evaluate the distance between any two points of P and Q. It defaults to carocad.frechet.protocols/distance
euclidean distance for n-dimentional points
euclidean distance for n-dimentional points
(partial-distance P Q)(partial-distance P Q dist-fn)compute the partial frechet distance among P and Q. The partial distance is calculated as the frechet distance among R and T, where R and T are the longest continous subcurves from P and Q that minimize the frechet distance. dist-fn is an optional function used to evaluate the distance between any two points of P and Q. It defaults to carocad.frechet.protocols/distance
compute the partial frechet distance among P and Q. The partial distance is calculated as the frechet distance among R and T, where R and T are the longest continous subcurves from P and Q that minimize the frechet distance. dist-fn is an optional function used to evaluate the distance between any two points of P and Q. It defaults to carocad.frechet.protocols/distance
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |