Liking cljdoc? Tell your friends :D

editscript.util.pairing


HeapNodecljs

source

IHeapNodeclj/s≠protocol

set-rightclj/s

(set-right this right)

Set the right sibling

Set the right sibling

get-leftclj/s

(get-left this)

Get the left child node

Get the left child node

add-childclj/s

(add-child this node)

Add a child to a node

Add a child to a node

get-rightclj/s

(get-right this)

Get the right sibling node

Get the right sibling node
source

insertclj/s

(insert node item priority)
source

merge-nodesclj/s

(merge-nodes a b)
source

priority-mapclj/s

(priority-map)
(priority-map & keyvals)

A priority queue that also functions as a map. Backed by a pairing heap implementation, and a regular map. NB. We do not implement decrease-key for the pairing heap, instead just insert the item again with a new priority.

A priority queue that also functions as a map.
Backed by a pairing heap implementation, and a regular map.
NB. We do not implement `decrease-key` for the pairing heap,
instead just insert the item again with a new priority.
sourceraw docstring

PriorityMapcljs

source

two-passclj/s

(two-pass node)
source

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

× close