diprism / fggs

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

Decomposed sum-product #130

Closed davidweichiang closed 2 years ago

davidweichiang commented 2 years ago

Uses the long-unused scc() function to break the FGG into strongly connected components and computes their sum-product one by one, for a noticeable speedup.

Closes #67.