Liking cljdoc? Tell your friends :D

dj.algorithms.dag


reverse-dagclj

(reverse-dag dag)

returns a dag but directions are now reversed

returns a dag but directions are now reversed
sourceraw docstring

topological-sortclj

(topological-sort dag)

dag is a map from nodes->set of nodes of children, this outputs the nodes children first

dag is a map from nodes->set of nodes of children, this outputs the
nodes children first
sourceraw docstring

touched-childrenclj

(touched-children dag touched-nodes)

given a dag and a set of initial touched nodes, return all nodes that have an ancestor who was touched

given a dag and a set of initial touched nodes, return all nodes that have an ancestor who was touched
sourceraw docstring

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

× close