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()
Histogram
public void update(long value)
Histogram
public Histogram.Statistics statistics()
statistics
in interface Histogram