protected void initializeReferenceSetBounds(){
  if (referenceSet == null) {
    return;
  }
  double rangeMin=Double.POSITIVE_INFINITY;
  double rangeMax=Double.NEGATIVE_INFINITY;
  double domainMin=Double.POSITIVE_INFINITY;
  double domainMax=Double.NEGATIVE_INFINITY;
  for (  Solution solution : referenceSet) {
    rangeMin=Math.min(rangeMin,getValue(solution,1));
    rangeMax=Math.max(rangeMax,getValue(solution,1));
    domainMin=Math.min(domainMin,getValue(solution,0));
    domainMax=Math.max(domainMax,getValue(solution,0));
  }
  referenceRangeBounds=new Range(rangeMin,rangeMax);
  referenceDomainBounds=new Range(domainMin,domainMax);
}

protected void initializeReferenceSetBounds ( ) { if ( referenceSet == null ) { return ; } double rangeMin = Double . POSITIVE_INFINITY ; double rangeMax = Double . NEGATIVE_INFINITY ; double domainMin = Double . POSITIVE_INFINITY ; double domainMax = Double . NEGATIVE_INFINITY ; for ( Solution solution : referenceSet ) { rangeMin = Math . min ( rangeMin , getValue ( solution , 1 ) ) ; rangeMax = Math . max ( rangeMax , getValue ( solution , 1 ) ) ; domainMin = Math . min ( domainMin , getValue ( solution , 0 ) ) ; domainMax = Math . max ( domainMax , getValue ( solution , 0 ) ) ; } referenceRangeBounds = new Range ( rangeMin , rangeMax ) ; referenceDomainBounds = new Range ( domainMin , domainMax ) ; }
initializes the reference set bounds .
