Searched refs:equivalent_vertices (Results 1 – 2 of 2) sorted by relevance
391 equivalent_vertices = {}395 s = equivalent_vertices.setdefault(vertex, set([]))398 equivalent_vertices.setdefault(vertex, set([vertex]))399 self.assertEqual(equivalent_vertices, g.equivalent_vertices)
309 def equivalent_vertices(self): member in Graph375 -len(self.equivalent_vertices[vertex]),394 -len(self.equivalent_vertices[vertex]),