示例#1
0
    public static Graph CreateGraph(int maxDepth, int iterations)
    {
		System.Random rnd = new System.Random(); 

        Graph grph = new Graph(rnd, maxDepth);
        
        for(int i = 0; i < iterations; i++ )
        {
            grph.IterateGeneration();
        }
        return grph; 
    }