public class RunningStdDevRoller extends Object
| Modifier and Type | Field and Description |
|---|---|
RunningStdDev[] |
buckets |
int |
samplesPerBucket |
| Constructor and Description |
|---|
RunningStdDevRoller(int bucketsInBits,
int samplesPerBucket) |
| Modifier and Type | Method and Description |
|---|---|
double |
maxSample(int bucketsBack) |
double |
mean(int bucketsBack) |
double |
minSample(int bucketsBack) |
double |
probabilityDensity(int bucketsBack,
double x) |
protected void |
processFinishedStdDev(RunningStdDev runningStdDev) |
void |
sample(double value) |
void |
setListener(RunningStdDevListener listener) |
double |
stdDeviation(int bucketsBack) |
public final RunningStdDev[] buckets
public final int samplesPerBucket
public RunningStdDevRoller(int bucketsInBits,
int samplesPerBucket)
public void sample(double value)
public void setListener(RunningStdDevListener listener)
protected void processFinishedStdDev(RunningStdDev runningStdDev)
public double mean(int bucketsBack)
public double stdDeviation(int bucketsBack)
public double maxSample(int bucketsBack)
public double minSample(int bucketsBack)
public double probabilityDensity(int bucketsBack,
double x)
Copyright © 2018. All Rights Reserved.