private void checkRanges(){
  for (int i=0; i < problem.getNumberOfObjectives(); i++) {
    if (Math.abs(minimum[i] - maximum[i]) < Settings.EPS) {
      throw new IllegalArgumentException("objective with empty range");
    }
  }
}

private void checkRanges ( ) { for ( int i = 0 ; i < problem . getNumberOfObjectives ( ) ; i ++ ) { if ( Math . abs ( minimum [ i ] - maximum [ i ] ) < Settings . EPS ) { throw new IllegalArgumentException ( "objective with empty range" ) ; } } }
checks if any objective has a range that is smaller than machine precision .
