Liking cljdoc? Tell your friends :D

asami.multi-graph

A multi-graph implementation. Resolution counting ignores multiple edges connecting nodes, so as to allow rules to successfully use this graph type.

A multi-graph implementation.
Resolution counting ignores multiple edges connecting nodes, so as to
allow rules to successfully use this graph type.
raw docstring

*insert-op*clj/s

source

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-multi-graphclj/s

source

get-from-multi-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

IndexStructureclj/s

source

multi-addclj/s

(multi-add idx a b c)

Inputs: [idx :- IndexStructure a :- s/Any b :- s/Any c :- s/Any] Returns: IndexStructure

Add elements to a 4-level index

Inputs: [idx :- IndexStructure a :- s/Any b :- s/Any c :- s/Any]
Returns: IndexStructure

Add elements to a 4-level index
sourceraw docstring

multi-deleteclj/s

(multi-delete idx a b c)

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

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

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

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

multi-graph-addclj/s

(multi-graph-add graph subj pred obj)
(multi-graph-add graph subj pred obj n)
source

MultiGraphclj/s

source

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

× close