Keep a running average of the last N samples, where N is MOVING_AVERAGE_WINDOW_SAMPLE_SIZE. More...

#import <OOMovingAverage.h>

+ Inheritance diagram for OOMovingAverage:

Instance Methods

(void) - mergeSample:
 

Properties

double average
 
long long count
 

Detailed Description

Keep a running average of the last N samples, where N is MOVING_AVERAGE_WINDOW_SAMPLE_SIZE.

Method Documentation

- (void) mergeSample: (double)  sample

Property Documentation

- (double) average
readnonatomicassign
- (long long) count
readnonatomicassign

The documentation for this class was generated from the following file: