public class SimpleBinCalculation extends java.lang.Object implements BinCalculation
AbstractBinCalculation
such that the user can provide the number of bins.Constructor and Description |
---|
SimpleBinCalculation(int numberOfBins,
double min,
double max) |
Modifier and Type | Method and Description |
---|---|
double |
binWidth()
Gets the width of the bin according to the calculated number of bins.
|
BinCalculationType |
getType() |
int |
numberOfBins()
Get the number of histogram bins.
|
public SimpleBinCalculation(int numberOfBins, double min, double max)
public int numberOfBins()
BinCalculation
numberOfBins
in interface BinCalculation
public double binWidth()
BinCalculation
binWidth
in interface BinCalculation
public BinCalculationType getType()
getType
in interface BinCalculation