private void updateLimits(List<S> solutionList) {
    for (int obj = 0; obj < numberOfObjectives; obj++) {
      gridLowerLimits[obj] = Double.MAX_VALUE;
      gridUpperLimits[obj] = Double.MIN_VALUE;
    }

    //Find the max and min limits of objetives into the population
    for (int ind = 0; ind < solutionList.size(); ind++) {
      Solution<?> tmpIndividual = solutionList.get(ind);
      for (int obj = 0; obj < numberOfObjectives; obj++) {
        if (tmpIndividual.getObjective(obj) < gridLowerLimits[obj]) {
          gridLowerLimits[obj] = tmpIndividual.getObjective(obj);
        }
        if (tmpIndividual.getObjective(obj) > gridUpperLimits[obj]) {
          gridUpperLimits[obj] = tmpIndividual.getObjective(obj);
        }
      }
    }
  }
private void updateLimits ( List < S > solutionList ) { for ( int obj = 0 ; obj < numberOfObjectives ; obj ++ ) { gridLowerLimits [ obj ] = Double . MAX_VALUE ; gridUpperLimits [ obj ] = Double . MIN_VALUE ; } for ( int ind = 0 ; ind < solutionList . size ( ) ; ind ++ ) { Solution < ? > tmpIndividual = solutionList . get ( ind ) ; for ( int obj = 0 ; obj < numberOfObjectives ; obj ++ ) { if ( tmpIndividual . getObjective ( obj ) < gridLowerLimits [ obj ] ) { gridLowerLimits [ obj ] = tmpIndividual . getObjective ( obj ) ; } if ( tmpIndividual . getObjective ( obj ) > gridUpperLimits [ obj ] ) { gridUpperLimits [ obj ] = tmpIndividual . getObjective ( obj ) ; } } } }
Updates the grid limits considering the solutions contained in a
<code>solutionList</code>.

@param solutionList The <code>solutionList</code> considered.