(bulk-index-entities conn max-children min-children part-fn)
Bulk indexes all the entries in the database that have Hilbert values. Use this when first seeding the database.
Bulk indexes all the entries in the database that have Hilbert values. Use this when first seeding the database.
(bulk-tx ents tree-id max-children min-children cost-fn)
(bulk-tx ents tree-id max-children min-children cost-fn part-fn)
(cost-partition entities max-children min-children cost-fn)
Partition the entities up, minimising the cost-fn for each partition.
Partition the entities up, minimising the cost-fn for each partition.
(dyn-cost-partition ents max-children min-children cost-fn)
(dyn-cost-partition ents max-children min-children cost-fn n-splits)
(min-cost-index entities min-children cost-fn)
Calculate an index into the list of entities that minimises the given cost-fn. Must be at least as large as min-children.
Calculate an index into the list of entities that minimises the given cost-fn. Must be at least as large as min-children.
(p-cost-partition entities max-children min-children cost-fn n-splits)
Parallel cost-partition function, chunks the data into n-splits.
Parallel cost-partition function, chunks the data into n-splits.
(partition-accum entities max-children min-children cost-fn)
Produces an accumulating lazy seq of vectors containing a list of partitions and a list of entities yet to be partitioned at that step.
Produces an accumulating lazy seq of vectors containing a list of partitions and a list of entities yet to be partitioned at that step.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close