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, getModel
public 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_INFINITY
protected 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 IlvClusterId
equals
in class IlvColumnValueClusterId
public int hashCode()
equals()
.hashCode
in interface IlvClusterId
hashCode
in class IlvColumnValueClusterId
public int compareTo(Object o)
compareTo
in interface Comparable
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.