public class LinBucketUtility extends BucketUtility
| Constructor and Description |
|---|
LinBucketUtility(double min,
double max,
int noOfBuckets) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBucket(double condVal) |
double |
getBucketWidth() |
double |
getLowerBound(int index) |
double |
getUpperBound(int index) |
getArraySize, getMax, getMin, isInRange, mapToIndexpublic LinBucketUtility(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 getBucketWidth()