public class ExponentiallyDecayingSample extends Object implements Sample
| Constructor and Description |
|---|
ExponentiallyDecayingSample(int reservoirSize,
double alpha) |
ExponentiallyDecayingSample(int reservoirSize,
double alpha,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Statistics |
getStatistics() |
Samples |
getType() |
int |
size() |
void |
update(long value) |
public ExponentiallyDecayingSample(int reservoirSize,
double alpha)
public ExponentiallyDecayingSample(int reservoirSize,
double alpha,
Clock clock)
public Statistics getStatistics()
getStatistics in interface StatisticianCopyright © 2016. All rights reserved.