Liking cljdoc? Tell your friends :D

con-hash.core


clockwise-nodeclj

(clockwise-node hashed-item hashed-nodes)

Returns the next clockwise node starting from hashed-item. The term 'clockwise' means 'greater than with wrap-around'.

Returns the next clockwise node starting from hashed-item. The
term 'clockwise' means 'greater than with wrap-around'.
sourceraw docstring

consistent-hash-fnclj

(consistent-hash-fn item-hash-fn node-hash-fn)

Returns a consistent hash function for a given item hashing function and node hashing function. The returned function accepts an items and sequence of nodes and returns one of the nodes.

Returns a consistent hash function for a given item hashing
function and node hashing function. The returned function accepts
an items and sequence of nodes and returns one of the nodes.
sourceraw docstring

hash-nodesclj

(hash-nodes nodes hash-fn)

Returns a sorted map (where the key is a hash and the value is the original node) from a list of nodes and node hashing function.

Returns a sorted map (where the key is a hash and the value is the
original node) from a list of nodes and node hashing function.
sourceraw docstring

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

× close