Liking cljdoc? Tell your friends :D

asami.index

An in-memory graph implementation with full indexing.

An in-memory graph implementation with full indexing.
raw docstring

count-transitive-from-indexclj/smultimethod

Lookup an index in the graph for the requested data and count the results based on a transitive index.

Lookup an index in the graph for the requested data and count the results based on a transitive index.
sourceraw docstring

empty-graphclj/s

source

get-from-indexclj/smultimethod

Lookup an index in the graph for the requested data. Returns a sequence of unlabelled bindings. Each binding is a vector of binding values.

Lookup an index in the graph for the requested data.
Returns a sequence of unlabelled bindings. Each binding is a vector of binding values.
sourceraw docstring

Indexclj/s

source

index-addclj/s

(index-add idx a b c id t)

Inputs: [idx :- Index a :- s/Any b :- s/Any c :- s/Any id :- s/Int t :- s/Int] Returns: Index

Add elements to a 4-level index. If triple already exists, returns given index unchanged.

Inputs: [idx :- Index a :- s/Any b :- s/Any c :- s/Any id :- s/Int t :- s/Int]
Returns: Index

Add elements to a 4-level index.
 If triple already exists, returns given index unchanged.
sourceraw docstring

index-deleteclj/s

(index-delete idx a b c)

Inputs: [idx :- Index a :- s/Any b :- s/Any c :- s/Any] Returns: (s/maybe Index)

Remove elements from a 4-level index. Returns the new index, or nil if there is no change.

Inputs: [idx :- Index a :- s/Any b :- s/Any c :- s/Any]
Returns: (s/maybe Index)

Remove elements from a 4-level index. Returns the new index, or nil if there is no change.
sourceraw docstring

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

× close