Created
December 17, 2013 22:19
-
-
Save einarwh/8013630 to your computer and use it in GitHub Desktop.
Code to process CFG.
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
public void Process(ImmutableHashSet<EvalStack> set) | |
{ | |
var x = set.Except(_I); | |
if (!x.IsEmpty) | |
{ | |
_I = _I.Union(x); | |
_O = _I.Select(s => G(s)).ToImmutableHashSet(); | |
foreach (var n in _targets) | |
{ | |
n.Process(_O); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment