protected void calculateIdealPoint(){
  idealPoint=new double[numberOfObjectives];
  Arrays.fill(idealPoint,Double.POSITIVE_INFINITY);
  for (  Solution solution : this) {
    if (solution.getNumberOfObjectives() != numberOfObjectives) {
      throw new FrameworkException("incorrect number of objectives");
    }
    for (int i=0; i < numberOfObjectives; i++) {
      idealPoint[i]=Math.min(idealPoint[i],solution.getObjective(i));
    }
  }
}

protected void calculateIdealPoint ( ) { idealPoint = new double [ numberOfObjectives ] ; Arrays . fill ( idealPoint , Double . POSITIVE_INFINITY ) ; for ( Solution solution : this ) { if ( solution . getNumberOfObjectives ( ) != numberOfObjectives ) { throw new FrameworkException ( "incorrect number of objectives" ) ; } for ( int i = 0 ; i < numberOfObjectives ; i ++ ) { idealPoint [ i ] = Math . min ( idealPoint [ i ] , solution . getObjective ( i ) ) ; } } }
compute the ideal point .
