Histogram.Statistics| Constructor and Description |
|---|
FixedReservoirHistogram(int reservoirSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Return the number of observations.
|
Histogram.Statistics |
statistics()
Naive algorithm for calculating variance:
https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
|
void |
update(long value)
Update the histogram with a new value observed.
|
public int count()
Histogrampublic void update(long value)
Histogrampublic Histogram.Statistics statistics()
statistics in interface Histogram