public class MeanVarianceStaticHistogram extends AbstractObjStaticHistogram<MeanVariance>
AbstractObjStaticHistogram.Iter
Modifier and Type | Field and Description |
---|---|
(package private) MeanVariance[] |
data
Data store
|
special
base, binsize, max, offset, size
CACHE_SHIFT
Constructor and Description |
---|
MeanVarianceStaticHistogram(int bins,
double min,
double max)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected MeanVariance |
makeObject()
Class to make a new object for the data store.
|
void |
put(double coord,
double val)
Update the value of a bin with new data.
|
void |
putData(double coord,
MeanVariance data)
Aggregate new data into the histogram.
|
get, getSpecial, iter
getBinNr, getBinsize, getCoverMaximum, getCoverMinimum, getNumBins, growSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBinsize, getCoverMaximum, getCoverMinimum, getNumBins
MeanVariance[] data
public MeanVarianceStaticHistogram(int bins, double min, double max)
bins
- Number of binsmin
- Cover minimummax
- Cover maximumpublic void put(double coord, double val)
coord
- Coordinateval
- Valuepublic void putData(double coord, MeanVariance data)
MeanVariance.put(Mean)
.coord
- Coordinatedata
- Dataprotected MeanVariance makeObject()
AbstractObjStaticHistogram
makeObject
in class AbstractObjStaticHistogram<MeanVariance>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.