Markus Triska has reported an algorithm to determine strongly connected components (SCC). Is there a solution which determines the SCC without making use of attributed variable and that can work anytime. So that some vertices can have infinitely many edges?
I am asking because I am wondering whether B-Prologs anytime tabling which they call eager can be replicated. B-Prolog determines clusters which is their name for SCC. But it has also a tabling mode where it returns tabled results eagerly.
I guess this algorithm fits the bill, since with a little modification it would allow an infinite degree in the root. This is the SCC algorithm when all edges point to finitely many vertices:
Using this example graph:
I get this result: