Beispiel #1
0
 private static void GenerateRandomWithCycle(int i, int j, out Graph g, out Graph h)
 {
     // random graph and a cycle
     g = GraphFactory.GenerateRandom(i, 0.4, 0);
     h = GraphFactory.GenerateCycle(j).Permute(1);
     Export("Random_And_Cycle", g, h);
 }
Beispiel #2
0
 public void EvenCycle() => TestGraph(GraphFactory.GenerateCycle(4), 2, 3);
Beispiel #3
0
 public void OddCycle() => TestGraph(GraphFactory.GenerateCycle(5), 2);