diprism / fggs

Factor Graph Grammars in Python
MIT License
13 stars 3 forks source link

Strongly connected components #67

Closed davidweichiang closed 2 years ago

davidweichiang commented 3 years ago

I'd use Tarjan's algorithm.

We're only able to find strongly-connected components of nonterminals, not SCCs of variables. Is this a problem?