synchronized void reset ( double value , int updated ) { ewma = value ; ewmaStddev = value * SINGLE_VALUE_STDDEV ; ewmaVariance = ewmaStddev * ewmaStddev ; consecutiveOutliers = 0 ; lastUpdate = updated ; }
Reset the distribution by throwing away all history and adding a single data point .