Searched refs:inc_nbrs (Results 1 – 3 of 3) sorted by relevance
323 def inc_nbrs(self, node): member in Graph334 l = dict.fromkeys( self.inc_nbrs(node) + self.out_nbrs(node) )460 get_nbrs = self.inc_nbrs
127 self.assertEqual(list(sorted(graph.inc_nbrs(1))), [4])128 self.assertEqual(list(sorted(graph.inc_nbrs(5))), [1, 4])
202 .. method:: Graph.inc_nbrs(node)