private static void AddNode(Racr.AstNode n) { Racr.AstNode c = FlipCoin() ? n.GetOp1() : n.GetOp2(); if (c.IsBudNode()) { c.RewriteSubtree(NewNode()); } else { AddNode(c); } }
private static void AddNode(Racr.AstNode n) { Racr.AstNode c = FlipCoin() ? n.GetOp1() : n.GetOp2(); if (c.IsBudNode()) { c.RewriteSubtree(NewNode()); } else { AddNode(c); } }