Liking cljdoc? Tell your friends :D

com.theinternate.generators.graph


gen-directed-acyclic-graphclj/s

(gen-directed-acyclic-graph vertices)

Generates a random directed, acyclic graph containing the given vertices.

Generates a random directed, acyclic graph containing the given vertices.
sourceraw docstring

gen-pruned-directed-acyclic-graphclj/s

(gen-pruned-directed-acyclic-graph directed-acyclic-graph)
(gen-pruned-directed-acyclic-graph directed-acyclic-graph
                                   {:keys [minimum-vertex-count]})

Generates a subgraph of the directed, acyclic graph. Each of the subgraph's vertices' ancestors are also in the graph. The subgraph will contain at least the minimum number of vertices (default 0).

Generates a subgraph of the directed, acyclic graph. Each of the subgraph's
vertices' ancestors are also in the graph. The subgraph will contain at least
the minimum number of vertices (default 0).
sourceraw docstring

gen-topological-orderingclj/s

(gen-topological-ordering directed-acyclic-graph)

Generates a seq of all vertices in the directed, acyclic graph. The seq will be in topological order.

Generates a seq of all vertices in the directed, acyclic graph. The seq will
be in topological order.
sourceraw docstring

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

× close