private double psfunc3(double x,double t1,double t2,int dim){
  dim=dim + 1;
  double xy=4 * (x - 0.5);
  if (lType == 31) {
    double rate=dim / (double)numberOfVariables;
    return xy - 4 * (t1 * t1 * rate + t2 * (1.0 - rate)) + 2;
  }
 else   if (lType == 32) {
    double theta=2 * Math.PI * t1 + dim * Math.PI / numberOfVariables;
    return xy - 2 * t2 * Math.sin(theta);
  }
 else {
    throw new IllegalStateException();
  }
}

private double psfunc3 ( double x , double t1 , double t2 , int dim ) { dim = dim + 1 ; double xy = 4 * ( x - 0.5 ) ; if ( lType == 31 ) { double rate = dim / ( double ) numberOfVariables ; return xy - 4 * ( t1 * t1 * rate + t2 * ( 1.0 - rate ) ) + 2 ; } else if ( lType == 32 ) { double theta = 2 * Math . PI * t1 + dim * Math . PI / numberOfVariables ; return xy - 2 * t2 * Math . sin ( theta ) ; } else { throw new IllegalStateException ( ) ; } }
controls the pareto set shape for 3d instances .
