Note
This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.
rustworkx.TopologicalSorter.is_active#
- TopologicalSorter.is_active()#
Return
True
if more progress can be made andFalse
otherwise.Progress can be made if either there are still nodes that are ready and haven’t yet been returned by
get_ready()
, or if the number of nodes markeddone()
is lower than the number of nodes that have been returned byget_ready()
.- Returns:
True
if further progress is possible,False
otherwise.- Return type:
bool