code: public void add(List<Double> maxs) {
      List<Double> aux = new ArrayList<>(this.numberOfObjectives);
      aux.addAll(maxs);
      this.history.add(aux);
      if (history.size() > MAX_LENGHT)
        history.remove(0);
    }
docs: Adds a new vector of maxs values to the history. The method ensures that only the
  newest MAX_LENGTH vectors will be kept in the history
  @param maxs