private void updateStatistics(){
  long currentTime=System.currentTimeMillis();
  double diffTime=currentTime - lastTime;
  double diffSeed=currentSeed - lastSeed;
  double diffNFE=currentNFE - lastNFE;
  double percentChange=(diffSeed + (diffNFE / maxNFE)) / totalSeeds;
  if ((diffTime > 0.0) && (percentChange > 0.0001)) {
    statistics.addValue(diffTime / percentChange);
    lastTime=currentTime;
    lastSeed=currentSeed;
    lastNFE=currentNFE;
  }
}

private void updateStatistics ( ) { long currentTime = System . currentTimeMillis ( ) ; double diffTime = currentTime - lastTime ; double diffSeed = currentSeed - lastSeed ; double diffNFE = currentNFE - lastNFE ; double percentChange = ( diffSeed + ( diffNFE / maxNFE ) ) / totalSeeds ; if ( ( diffTime > 0.0 ) && ( percentChange > 0.0001 ) ) { statistics . addValue ( diffTime / percentChange ) ; lastTime = currentTime ; lastSeed = currentSeed ; lastNFE = currentNFE ; } }
updates the moving average statistics used for estimating the remaining time . the processing speed is measured by the nfe completed since this method was last invoked .
