public TreeNode GetRandomNonTerminal(int maxDepth, TreeNodeFilter filter = null) { return(SelectRandom(_nonTerminals.GetTreeNodes(maxDepth), filter)); }
public TreeNode GetRandomAny(int maxDepth, TreeNodeFilter filter = null) { return(SelectRandom(_any.GetTreeNodes(maxDepth), filter)); }