public interface DataObject
 DataObject.java 
 Authors: Rainer Holzmann, Zhanna Melnikova-Albrecht, Matthias Schubert 
 Date: Aug 19, 2004 
 Time: 5:48:59 PM 
 $ Revision 1.4 $ 
 
| Modifier and Type | Field and Description | 
|---|---|
| static int | NOISE | 
| static int | UNCLASSIFIED | 
| static double | UNDEFINED | 
| Modifier and Type | Method and Description | 
|---|---|
| double | distance(DataObject dataObject)Calculates the distance between dataObject and this.dataObject | 
| boolean | equals(DataObject dataObject)Compares two DataObjects in respect to their attribute-values | 
| int | getClusterLabel()Returns the clusterID, to which this DataObject belongs to | 
| double | getCoreDistance()Returns the coreDistance for this dataObject | 
| Instance | getInstance()Returns the original instance | 
| java.lang.String | getKey()Returns the key for this DataObject | 
| double | getReachabilityDistance()Returns the reachabilityDistance for this dataObject | 
| boolean | isProcessed()Gives information about the status of a dataObject | 
| void | setClusterLabel(int clusterID)Sets the clusterID (cluster), to which this DataObject belongs to | 
| void | setCoreDistance(double c_dist)Sets a new coreDistance for this dataObject | 
| void | setKey(java.lang.String key)Sets the key for this DataObject | 
| void | setProcessed(boolean processed)Marks this dataObject as processed | 
| void | setReachabilityDistance(double r_dist)Sets a new reachability-distance for this dataObject | 
static final int UNCLASSIFIED
static final int NOISE
static final double UNDEFINED
boolean equals(DataObject dataObject)
dataObject - The DataObject, that is compared with this.dataObjectdouble distance(DataObject dataObject)
dataObject - The DataObject, that is used for distance-calculation with this.dataObjectInstance getInstance()
java.lang.String getKey()
void setKey(java.lang.String key)
key - The key is represented as stringvoid setClusterLabel(int clusterID)
clusterID - Number of the Clusterint getClusterLabel()
void setProcessed(boolean processed)
processed - True, if the DataObject has been already processed, false elseboolean isProcessed()
void setCoreDistance(double c_dist)
c_dist - coreDistancedouble getCoreDistance()
void setReachabilityDistance(double r_dist)
double getReachabilityDistance()