public class BucketMAvgRollerDouble extends Object
| Constructor and Description |
|---|
BucketMAvgRollerDouble(int granularity,
int span) |
BucketMAvgRollerDouble(int granularity,
int span,
int alignment) |
| Modifier and Type | Method and Description |
|---|---|
static int |
bucketFill(BucketMAvgRollerDouble roller) |
static int |
bucketSize(BucketMAvgRollerDouble roller) |
static int |
bucketsRepeatAfter(BucketMAvgRollerDouble roller) |
static double |
mean(BucketMAvgRollerDouble roller) |
static double |
newMean(BucketMAvgRollerDouble roller)
only returns new means or NaN
|
static double |
result(BucketMAvgRollerDouble roller) |
static void |
roll(BucketMAvgRollerDouble roller,
double value) |
static int |
span(BucketMAvgRollerDouble roller) |
public BucketMAvgRollerDouble(int granularity,
int span)
public BucketMAvgRollerDouble(int granularity,
int span,
int alignment)
granularity - samples per bucket internal implementationspan - size of moving averagealignment - initial count in first bucketpublic static int span(BucketMAvgRollerDouble roller)
public static int bucketsRepeatAfter(BucketMAvgRollerDouble roller)
public static void roll(BucketMAvgRollerDouble roller, double value)
public static double mean(BucketMAvgRollerDouble roller)
public static double result(BucketMAvgRollerDouble roller)
public static double newMean(BucketMAvgRollerDouble roller)
public static int bucketFill(BucketMAvgRollerDouble roller)
public static int bucketSize(BucketMAvgRollerDouble roller)
Copyright © 2018. All Rights Reserved.