Liking cljdoc? Tell your friends :D

com.github.ivarref.paginate-vector.impl.bst


after-valueclj

(after-value root keep? from-value sort-attrs max-items)
source

balanced-treeclj

(balanced-tree sorted-vec)
(balanced-tree sorted-vec start end)
source

before-valueclj

(before-value root keep? from-value sort-attrs max-items)
source

cmp-attrsclj

(cmp-attrs sort-attrs a b)
source

comparator-over-nodesclj

(comparator-over-nodes func)
(comparator-over-nodes func & args)

Returns a comparison function specific for values of tree nodes

Returns a comparison function specific for values of tree nodes
sourceraw docstring

depth-first-valsclj

(depth-first-vals root)
(depth-first-vals root v)
source

equalsclj

source

from-beginningclj

(from-beginning root keep? max-items)
(from-beginning root keep? res max-items)
source

from-endclj

(from-end root keep? max-items)
(from-end root keep? res max-items)
source

get-leftmost-valueclj

(get-leftmost-value root keep?)
source

get-rightmost-valueclj

(get-rightmost-value root keep?)
source

greater-thanclj

source

heightclj

(height root)
(height root count)

Determines the depth of the BST

Determines the depth of the BST
sourceraw docstring

insert-nodeclj

(insert-node root new-node)

inserts a node into a BST

inserts a node into a BST
sourceraw docstring

is-bstclj

(is-bst root)
(is-bst root greaters lesss)

Not only does this check to see if the value at each 'less' child of each node is less than the value at that node (and 'greater'), but it also checks that EVERY element to the 'less' of each node is less than that node. Otherwise, the tree is not a BST. Additionally, this function ensures that

Not only does this check to see if the value at each 'less' child of
each node is less than the value at that node (and 'greater'), but it also
checks that EVERY element to the 'less' of each node is less than that node.
Otherwise, the tree is not a BST. Additionally, this function ensures that 
sourceraw docstring

leftclj

(left node)
source

less-thanclj

source

make-nodeclj

(make-node value)
(make-node value left right)
source

next-valueclj

(next-value root nearest-value sort-attrs)
source

Nodeclj

source

(right node)
source

take-all-firstclj

(take-all-first root keep? res max-items)
source

take-all-lastclj

(take-all-last root keep? res max-items)
source

take-minclj

(take-min a b sort-fn)
source

tree-contains?clj

(tree-contains? root v sort-attrs)
source

tree-valsclj

(tree-vals node)
source

valueclj

(value node)
source

visit-all-depth-firstclj

(visit-all-depth-first root keep? f)
source

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

× close