Algorithms provided with
JGraphT
.