Algorithms provided with JGraphT.