ac.essex.ooechs.kmeans
Class ClusterClass

java.lang.Object
  extended by ac.essex.ooechs.kmeans.ClusterClass

public class ClusterClass
extends java.lang.Object

A basic class object with an ID and a name that allows some class information to be attached to each centroid. This allows the solution to be run backwards and run classification on unseen data.


Field Summary
 int classID
          A numeric ID assigned to the class
 java.lang.String name
          The name of the class
 
Constructor Summary
ClusterClass(int id, java.lang.String name)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of the class


classID

public int classID
A numeric ID assigned to the class

Constructor Detail

ClusterClass

public ClusterClass(int id,
                    java.lang.String name)