public class GeoBucketUtility extends BucketUtility
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_BASE |
| Constructor and Description |
|---|
GeoBucketUtility(double base,
double min,
double max,
int noOfBuckets) |
| Modifier and Type | Method and Description |
|---|---|
double |
getBase() |
int |
getBucket(double condVal) |
double |
getLogBase() |
double |
getLowerBound(int index) |
double |
getMinBucketWidth() |
double |
getUpperBound(int index) |
getArraySize, getMax, getMin, isInRange, mapToIndexpublic GeoBucketUtility(double base,
double min,
double max,
int noOfBuckets)
public int getBucket(double condVal)
getBucket in class BucketUtilitypublic double getLowerBound(int index)
getLowerBound in class BucketUtilitypublic double getUpperBound(int index)
getUpperBound in class BucketUtilitypublic double getMinBucketWidth()
public double getBase()
public double getLogBase()