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 and False otherwise.

Progress can be made if either there are still nodes ready that haven’t yet been returned by “get_ready” or the number of nodes marked “done” is less than the number that have been returned by “get_ready”.