code: @Override
      public List<Pair<Integer, Integer>> generateEdges() throws InvalidConfigException {
          if (!configuration.isValid()) {
              throw new InvalidConfigException("The supplied config is not valid");
          }
  
          return doGenerateEdges();
      }
docs: {@inheritDoc}