Home
last modified time | relevance | path

Searched refs:get_ready (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/test/
Dtest_graphlib.py13 nodes = ts.get_ready()
135 ts.get_ready()
152 ts.get_ready()
165 self.assertEqual(ts.get_ready(), (3, 4))
167 self.assertEqual(ts.get_ready(), ())
170 self.assertEqual(ts.get_ready(), (2,))
171 self.assertEqual(ts.get_ready(), ())
175 self.assertEqual(ts.get_ready(), (1,))
176 self.assertEqual(ts.get_ready(), ())
178 self.assertEqual(ts.get_ready(), ())
[all …]
/third_party/python/Doc/library/
Dgraphlib.rst45 the nodes returned by :meth:`~TopologicalSorter.get_ready` and
69 for node in topological_sorter.get_ready():
79 # succeed. After calling 'done()', we loop back to call 'get_ready()'
104 :meth:`~TopologicalSorter.get_ready` can still be used to obtain as many
114 :meth:`TopologicalSorter.get_ready` or the number of nodes marked
116 returned by :meth:`TopologicalSorter.get_ready`.
134 Marks a set of nodes returned by :meth:`TopologicalSorter.get_ready` as
136 returned in the future by a call to :meth:`TopologicalSorter.get_ready`.
142 returned by :meth:`~TopologicalSorter.get_ready`.
144 .. method:: get_ready()
[all …]
/third_party/python/Lib/
Dgraphlib.py106 def get_ready(self): member in TopologicalSorter
244 node_group = self.get_ready()