(reverse-dag dag)
returns a dag but directions are now reversed
returns a dag but directions are now reversed
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close