(build-hashtables trees)
Creates map from keywords for 0 to trees
to {}.
Creates map from keywords for 0 to `trees` to {}.
(build-sorted-hashtables trees)
Creates map from keywords for 0 to trees
to [].
Creates map from keywords for 0 to `trees` to [].
(coll-prefix coll k)
returns vector of first k items in coll
returns vector of first k items in coll
(get-hashranges k trees)
Vectors of [start stop] for each bucket for the given k
buckets and trees
trees.
Vectors of [start stop] for each bucket for the given `k` buckets and `trees` trees.
(get-range k trees)
Total number of ranges for given k
and trees
.
Total number of ranges for given `k` and `trees`.
(keywordize i)
if not keyword? i, converts i to keyword
if not keyword? i, converts i to keyword
(slice-minhash minhash hashranges)
Slices minhash
at hashranges
boundaries.
hashranges
is sequence of sequences each with 2 elements,
the first is the start of the bucket range and the second
is the end of that bucket.
Slices `minhash` at `hashranges` boundaries. `hashranges` is sequence of sequences each with 2 elements, the first is the start of the bucket range and the second is the end of that bucket.
(tree-keys trees)
Keywords for each integer between 0 and trees
.
Keywords for each integer between 0 and `trees`.
(valid-input-add-files? files)
validates the input of add-*-to-forest functions
validates the input of add-*-to-forest functions
(valid-input? feature-coll pred)
validates the input of add-*-to-forest functions
validates the input of add-*-to-forest functions
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close