Liking cljdoc? Tell your friends :D

meridian.datomic-rtree.rtree


add-adjust-txclj

(add-adjust-tx txs node entry split-nodes)
source

add-idclj

(add-id node)
source

add-split-txclj

(add-split-tx txs parent? node new-splits tree)
source

adjusted-nodeclj

(adjusted-node node entry new-children)
source

choose-leafclj

(choose-leaf root new-bbox)

Select a leaf node in which to place a new index entry, new-bbox. Starts at the root node a works down the tree. Finds the node whose path to the root consists of ancestors nodes that all required the least enlargement to include new-bbox, or have the smallest area.

Select a leaf node in which to place a new index entry, new-bbox.
Starts at the root node a works down the tree. Finds the node whose
path to the root consists of ancestors nodes that all required the
least enlargement to include new-bbox, or have the smallest area.
sourceraw docstring

containingclj

(containing root search-box)

Given the root of the tree and a bounding box to search within finds entries contained within the search box.

Given the root of the tree and a bounding box to search within finds entries
contained within the search box.
sourceraw docstring

create-tree-txclj

(create-tree-tx max-children min-children)
source

findclj

(find db)
source

group-chooserclj

(group-chooser node)

For any given node returns a function that given a group will return a value that can be used as a sort order for the group.

For any given node returns a function that given a group will
return a value that can be used as a sort order for the group.
sourceraw docstring

grow-tree-txclj

(grow-tree-tx tree-id split)
source

hilbert-entsclj

(hilbert-ents db)
source

insert-entry-txclj

(insert-entry-tx tree entry & {:keys [install-entry] :or {install-entry false}})
source

intersectingclj

(intersecting root search-box)

Given the root of the tree and a bounding box to search within finds entries intersecting the search box.

Given the root of the tree and a bounding box to search within finds entries
intersecting the search box.
sourceraw docstring

new-splitsclj

(new-splits node old-child new-children min-children id-adder)
source

node-idsclj

(node-ids nodes)
source

pick-nextclj

(pick-next group-a group-b nodes)

Select one remaining entry for classification in a group. Determine the cost of putting each entry in each group. Find the entry with greatest preference for one group.

Select one remaining entry for classification in a group.
Determine the cost of putting each entry in each group.
Find the entry with greatest preference for one group.
sourceraw docstring

pick-seedsclj

(pick-seeds entries)

Select two entries to be the first elements of the new groups. Choose the most wasteful (in terms of area) pair.

Select two entries to be the first elements of the new groups.
Choose the most wasteful (in terms of area) pair.
sourceraw docstring

search-treeclj

(search-tree root child-filter)
(search-tree root child-filter recur-step)
source

should-split?clj

(should-split? node split-nodes {max-children :rtree/max-children})
source

split-accumclj

(split-accum init-groups children)

Produces a lazy seq of vectors containing a list of groups (that accumulate at every step) and a list of children yet to be grouped at that step.

Produces a lazy seq of vectors containing a list of groups (that accumulate
at every step) and a list of children yet to be grouped at that step.
sourceraw docstring

split-finished?clj

(split-finished? min-children [groups remaining])
source

split-nodeclj

(split-node children min-children)

Quadractic-Cost Algorithm. Attempts to find a small-area split. Given a set of children (and a minimum number of children allowed in a node), returns a vector containing two new sets of child nodes.

Quadractic-Cost Algorithm. Attempts to find a small-area split.
Given a set of children (and a minimum number of children allowed in a node),
returns a vector containing two new sets of child nodes.
sourceraw docstring

split-txclj

(split-tx node split)
source

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

× close