(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |