Searched refs:topo_sorting (Results 1 – 1 of 1) sorted by relevance
54 def visit(node, topo_sorting, sequence=None): argument64 res = visit(next_node, topo_sorting, sequence)68 topo_sorting.insert(0, node.n)72 topo_sorting = []79 if not visit(node, topo_sorting, sequence=[]):89 return topo_sorting