code: @Override
      protected List<Pair<Integer, Integer>> doGenerateEdges() {
          long threshold = getConfiguration().getNumberOfEdges() * 4;
          long potentialEdges = getConfiguration().getNumberOfNodes() * (getConfiguration().getNumberOfNodes() - 1);
  
          if (threshold > potentialEdges) {
              return doGenerateEdgesWithOmitList(); // Make sure to avoid edges
          }
  
          return doGenerateEdgesSimpler(); // Be more heuristic (pajek implementation using HashSet).
      }
docs: {@inheritDoc}