Created
December 17, 2013 20:56
-
-
Save einarwh/8012473 to your computer and use it in GitHub Desktop.
Pseudo code for processing a node.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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