refactorfirst / RefactorFirst

Identifies and prioritizes God Classes Highly Coupled classes, and Class Cycles in Java codebases you should refactor first.
Apache License 2.0
457 stars 42 forks source link

Identify minimum cut(s) #86

Closed jimbethancourt closed 1 month ago

jimbethancourt commented 4 months ago

Identify minimum cut of a cycle with GusfieldGomoryHuCutTree.getCutEdges()

See https://github.com/jgrapht/jgrapht/blob/6324b1354547505d5b62f65a9bf507b54b04e41a/jgrapht-core/src/test/java/org/jgrapht/alg/flow/GusfieldGomoryHuCutTreeTest.java for how to use

jimbethancourt commented 1 month ago

Added in 0.5.0-M3 - will be improved in #92 by providing edge weights