docs: public static <S extends Solution<?>> double[] getObjectiveArrayFromSolutionList(List<S> solutionList, int objective) {
      double[] result = new double[solutionList.size()];
  
      for (int i = 0; i < solutionList.size(); i++) {
        result[i] = solutionList.get(i).getObjective(objective);
      }
      return result;
    }