|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.data.DataCell
org.knime.core.data.def.FuzzyIntervalCell
public final class FuzzyIntervalCell
A data cell implementation holding a fuzzy interval as value by storing this
value in four private double
members, two for the min/max
values of the support, and two for the min/max values of the core of the
fuzzy interval.
The height of the membership value in the core region is assumed to be 1.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.knime.core.data.FuzzyIntervalValue |
---|
FuzzyIntervalValue.FuzzyIntervalUtilityFactory |
Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
---|
DataValue.UtilityFactory |
Field Summary | |
---|---|
static DataType |
TYPE
Convenience access member for DataType.getType(FuzzyIntervalCell.class) . |
Fields inherited from interface org.knime.core.data.FuzzyIntervalValue |
---|
UTILITY |
Constructor Summary | |
---|---|
FuzzyIntervalCell(double minSupp,
double minCore,
double maxCore,
double maxSupp)
Creates a new fuzzy interval cell based on the min/max of support and of core. |
Method Summary | |
---|---|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here. |
static org.knime.core.data.def.FuzzyIntervalCell.FuzzyIntervalSerializer |
getCellSerializer()
Returns the factory to read/write DataCells of this class from/to a DataInput/DataOutput. |
double |
getCenterOfGravity()
|
double |
getMaxCore()
|
double |
getMaxSupport()
|
double |
getMinCore()
|
double |
getMinSupport()
|
static Class<? extends DataValue> |
getPreferredValueClass()
Returns the preferred value class of this cell implementation. |
int |
hashCode()
Computes hash code based on all private members. |
String |
toString()
Returns the String representation of this cell's value. |
Methods inherited from class org.knime.core.data.DataCell |
---|
equals, getType, isMissing |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DataType TYPE
DataType.getType(FuzzyIntervalCell.class)
.
DataType.getType(Class)
Constructor Detail |
---|
public FuzzyIntervalCell(double minSupp, double minCore, double maxCore, double maxSupp)
minSupp
- Minimum support value.minCore
- Minimum core value.maxCore
- Maximum core value.maxSupp
- Maximum support value.
IllegalArgumentException
- If not a <= b <= c <= d
.Method Detail |
---|
public static final Class<? extends DataValue> getPreferredValueClass()
public static final org.knime.core.data.def.FuzzyIntervalCell.FuzzyIntervalSerializer getCellSerializer()
DataCell
public double getMinSupport()
getMinSupport
in interface FuzzyIntervalValue
public double getMinCore()
getMinCore
in interface FuzzyIntervalValue
public double getMaxCore()
getMaxCore
in interface FuzzyIntervalValue
public double getMaxSupport()
getMaxSupport
in interface FuzzyIntervalValue
public double getCenterOfGravity()
getCenterOfGravity
in interface FuzzyIntervalValue
protected boolean equalsDataCell(DataCell dc)
null
or a missing value,
to be of the same class like this.
equalsDataCell
in class DataCell
dc
- the cell to compare this to
true
if this is equal to the argument,
false
if notpublic int hashCode()
DataCell
objects return the same hash code.
hashCode
in class DataCell
DataCell
Object.hashCode()
,
DataCell.equals(java.lang.Object)
public String toString()
toString
in class DataCell
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |