Searched refs:all_nbrs (Results 1 – 3 of 3) sorted by relevance
129 self.assertEqual(list(sorted(graph.all_nbrs(1))), [2, 3, 4, 5])132 self.assertEqual(list(sorted(graph.all_nbrs(5))), [1, 4])
330 def all_nbrs(self, node): member in Graph
206 .. method:: Graph.all_nbrs(node)