(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.
(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).
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close