public abstract class Histogram
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
lambda |
protected double |
maxValue |
protected double |
minValue |
protected int |
noBins |
Constructor and Description |
---|
Histogram(double lambda,
int noBins,
double minValue,
double maxValue)
Constructs an equidistant histogram of noBins bins for values in [minValue, maxValue] based on the histogramInitializationScheme
|
Modifier and Type | Method and Description |
---|---|
double |
getLambda() |
int |
getNoBins() |
protected double lambda
protected int noBins
protected double minValue
protected double maxValue
public Histogram(double lambda, int noBins, double minValue, double maxValue) throws java.lang.IllegalArgumentException
lambda
- parameter associated with the Histogram; generally used (but not limited to) model temporal decay of importance of informationnoBins
- the number of histogram bins in the HistogramminValue
- the lower bound of the histogrammaxValue
- the upper bound of the histogramjava.lang.IllegalArgumentException
- Will be thrown when the minValue is larger or equal than the maxValue