Thanks to visit codestin.com Credit goes to networkit.github.io
Use TriangleEdgeScore instead which is parallelized and has a similar performance even in the sequential case.