Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pseudo code for processing a node.
def process S
if exists s in S where not I contains s
I = I union S
O = map g I
foreach e in edges
process e.target O
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment