public class IlvIntervalClusterId extends IlvColumnValueClusterId implements Comparable
IlvCustomScalePartitioner,
IlvUniformScalePartitioner| Constructor and Description |
|---|
IlvIntervalClusterId(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
double lowerBound,
double upperBound)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o)
Compares this object with another object.
|
double |
getLowerBound()
Returns the lower bound - that is, the a-priori minimum - of the
interval that identifies the group of objects.
|
double |
getUpperBound()
Returns the upper bound - that is, the a-priori maximum - of the
interval that identifies the group of objects.
|
int |
hashCode()
Returns a hash code that is compatible with
equals(). |
protected void |
setLowerBound(double bound)
Changes the lower bound.
|
protected void |
setUpperBound(double bound)
Changes the upper bound.
|
String |
toString() |
getColumn, getModelpublic IlvIntervalClusterId(IlvObjectModelWithColumns model, IlvDataColumnInfo column, double lowerBound, double upperBound)
model - The model in which the column values are stored.column - The column which gave rise to the identified cluster.lowerBound - Lower bound for the column value of all objects of the
identified cluster, or Double.NEGATIVE_INFINITY.upperBound - Upper bound for the column value of all objects of the
identified cluster, or Double.POSITIVE_INFINITY.public double getLowerBound()
double value or
Double.NEGATIVE_INFINITYprotected void setLowerBound(double bound)
bound - A double value or
Double.NEGATIVE_INFINITY.public double getUpperBound()
double value or
Double.POSITIVE_INFINITY.protected void setUpperBound(double bound)
bound - A double value or
Double.POSITIVE_INFINITY.public boolean equals(Object o)
equals in interface IlvClusterIdequals in class IlvColumnValueClusterIdpublic int hashCode()
equals().hashCode in interface IlvClusterIdhashCode in class IlvColumnValueClusterIdpublic int compareTo(Object o)
compareTo in interface Comparable© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.