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”.