@Override public double calculateM(double delta,double epsilon){
  double i=1;
  while (conf(i,delta) > epsilon / 2.0d) {
    i=i + 10000;
  }
  if (i > 1) {
    i=i - 10000;
  }
  while (conf(i,delta) > (epsilon / 2.0d)) {
    i++;
  }
  return Math.ceil(i);
}

@ Override public double calculateM ( double delta , double epsilon ) { double i = 1 ; while ( conf ( i , delta ) > epsilon / 2.0d ) { i = i + 10000 ; } if ( i > 1 ) { i = i - 10000 ; } while ( conf ( i , delta ) > ( epsilon / 2.0d ) ) { i ++ ; } return Math . ceil ( i ) ; }
calculates the m - value needed for the gss algorithm .
