Reverses the direction of a graph edge in the form [src dest] or [src dest weight]. Does not change weight.
Reverses the direction of a graph edge in the form [src dest] or [src dest weight]. Does not change weight.
(simple-paths g start end & {:keys [max-depth] :or {max-depth nil}})
Finds all simple paths from start node to end node. Paths are represented as a collection of nodes in traversal order.
Finds all simple paths from start node to end node. Paths are represented as a collection of nodes in traversal order.
(wedges wdg)
Edges in weighted graph wdg including weights. May return each edge twice in an undirected graph.
Edges in weighted graph wdg including weights. May return each edge twice in an undirected graph.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close