public boolean checkStationaryFunctionValue(final double fxOld,final double fxNew,final int statStateIterations,final Type ecType){
  if (Math.abs(fxNew - fxOld) >= functionEpsilon_) {
    this.statStateIterations=0;
    return false;
  }
  this.statStateIterations++;
  if (statStateIterations <= maxStationaryStateIterations_)   return false;
  this.ecType=Type.StationaryFunctionValue;
  return true;
}

public boolean checkStationaryFunctionValue ( final double fxOld , final double fxNew , final int statStateIterations , final Type ecType ) { if ( Math . abs ( fxNew - fxOld ) >= functionEpsilon_ ) { this . statStateIterations = 0 ; return false ; } this . statStateIterations ++ ; if ( statStateIterations <= maxStationaryStateIterations_ ) return false ; this . ecType = Type . StationaryFunctionValue ; return true ; }
test if the function variation is below functionepsilon
