1.2.0 permalink Arrow_down_16x16

post-ordered-nodes

clojure.contrib.graph

  • (post-ordered-nodes g)
Return a sequence of indexes of a post-ordered walk of the graph.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/graph.clj:110 top

(defn post-ordered-nodes
  "Return a sequence of indexes of a post-ordered walk of the graph."
  [g]
  (fnext (reduce #(post-ordered-visit g %2 %1)
                 [#{} []]
                 (:nodes g))))
Vars in clojure.contrib.graph/post-ordered-nodes: defn fnext reduce
Used in 0 other vars

Comments top

No comments for post-ordered-nodes. Log in to add a comment.