public class DoubleHistogramCounter extends java.lang.Object implements HistogramCounter
Constructor and Description |
---|
DoubleHistogramCounter(double minValue,
double maxValue,
int nBins) |
Modifier and Type | Method and Description |
---|---|
HistogramCounter |
add(Writable w) |
double[] |
getBins() |
long[] |
getCounts() |
DoubleHistogramCounter |
merge(HistogramCounter other) |
public DoubleHistogramCounter(double minValue, double maxValue, int nBins)
public HistogramCounter add(Writable w)
add
in interface HistogramCounter
public DoubleHistogramCounter merge(HistogramCounter other)
merge
in interface HistogramCounter
public double[] getBins()
getBins
in interface HistogramCounter
public long[] getCounts()
getCounts
in interface HistogramCounter