Пример #1
0
 def test_cyclic2(self):
     G = graphs.CycleGraph(10)
     self.assertEqual(orbitgen.count_num_distinct(G),
                      count_num_generated(G))
Пример #2
0
 def test_complete2(self):
     G = graphs.CompleteGraph(11)
     self.assertEqual(orbitgen.count_num_distinct(G),
                      count_num_generated(G))
Пример #3
0
 def test_aug_complete(self):
     G = gen_complete_extra(8)
     self.assertEqual(orbitgen.count_num_distinct(G),
                      count_num_generated(G))
Пример #4
0
 def test_star(self):
     G = graphs.StarGraph(7)
     self.assertEqual(orbitgen.count_num_distinct(G),
                      count_num_generated(G))
Пример #5
0
 def test_circlelader(self):
     G = graphs.CircularLadderGraph(4)
     self.assertEqual(orbitgen.count_num_distinct(G),
                      count_num_generated(G))
Пример #6
0
 def test_petersen(self):
     G = graphs.PetersenGraph()
     self.assertEqual(orbitgen.count_num_distinct(G),
                      count_num_generated(G))