public interface IndexBinningStrategy extends Persistable
Modifier and Type | Method and Description |
---|---|
double |
getBinMax() |
double |
getBinMin() |
BinValue |
getBinnedValue(double value)
Returns a normalized value (confined to the normalized minimum and maximum of this binning
strategy) and a bin from any value within the data set
|
NumericRange |
getDenormalizedRanges(BinRange binnedRange)
Given a set of normalized ranges (each of which are confined to the normalized min and max of
this binning strategy) with a bin for each of the ranges, this will calculate the original
unbinned range.
|
int |
getFixedBinIdSize()
Return the fixed size for the bin ID used by this binning strategy
|
BinRange[] |
getNormalizedRanges(NumericData index)
Return a set of normalized ranges (each of which are confined to the normalized min and max of
this binning strategy) with a bin for each of the ranges.
|
fromBinary, toBinary
double getBinMin()
double getBinMax()
BinValue getBinnedValue(double value)
value
- the value that needs to be normalized and binnedBinRange[] getNormalizedRanges(NumericData index)
index
- the data representing the query range that needs to be normalized and binnedNumericRange getDenormalizedRanges(BinRange binnedRange)
binnedRange
- the normalized and binned rangeint getFixedBinIdSize()
Copyright © 2013–2022. All rights reserved.