iitb.con.clustering
Class ClusterNode

java.lang.Object
  extended by iitb.con.clustering.ClusterNode
All Implemented Interfaces:
java.lang.Comparable

public class ClusterNode
extends java.lang.Object
implements java.lang.Comparable


Field Summary
 short clusterId
           
 short distance
           
 int key
           
 
Constructor Summary
ClusterNode()
           
ClusterNode(int key)
           
ClusterNode(int key, short clusterId)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

clusterId

public short clusterId

distance

public short distance

key

public int key
Constructor Detail

ClusterNode

public ClusterNode()

ClusterNode

public ClusterNode(int key)

ClusterNode

public ClusterNode(int key,
                   short clusterId)
Method Detail

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object