public class ManhattanDataObject extends java.lang.Object implements DataObject, java.io.Serializable, RevisionHandler
 ManhattanDataObject.java 
 Authors: Rainer Holzmann, Zhanna Melnikova-Albrecht, Matthias Schubert 
 Date: Aug 19, 2004 
 Time: 5:50:22 PM 
 $ Revision 1.4 $ 
 
NOISE, UNCLASSIFIED, UNDEFINED| Constructor and Description | 
|---|
| ManhattanDataObject(Instance originalInstance,
                   java.lang.String key,
                   Database database)Constructs a new DataObject. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | distance(DataObject dataObject)Calculates the manhattan-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 | 
| java.lang.String | getRevision()Returns the revision string. | 
| 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 | 
| java.lang.String | toString() | 
public boolean equals(DataObject dataObject)
equals in interface DataObjectdataObject - The DataObject, that is compared with this.dataObject;
        now assumed to be of the same type and with the same structurepublic double distance(DataObject dataObject)
distance in interface DataObjectdataObject - The DataObject, that is used for distance-calculation with this.dataObject
        now assumed to be of the same type and with the same structurepublic Instance getInstance()
getInstance in interface DataObjectpublic java.lang.String getKey()
getKey in interface DataObjectpublic void setKey(java.lang.String key)
setKey in interface DataObjectkey - The key is represented as stringpublic void setClusterLabel(int clusterID)
setClusterLabel in interface DataObjectclusterID - Number of the Clusterpublic int getClusterLabel()
getClusterLabel in interface DataObjectpublic void setProcessed(boolean processed)
setProcessed in interface DataObjectprocessed - True, if the DataObject has been already processed, false elsepublic boolean isProcessed()
isProcessed in interface DataObjectpublic void setCoreDistance(double c_dist)
setCoreDistance in interface DataObjectc_dist - coreDistancepublic double getCoreDistance()
getCoreDistance in interface DataObjectpublic void setReachabilityDistance(double r_dist)
setReachabilityDistance in interface DataObjectpublic double getReachabilityDistance()
getReachabilityDistance in interface DataObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getRevision()
getRevision in interface RevisionHandler