org.carrot2.filter.trc.carrot.filter.cluster.rough.clustering
Class ClusterRepresentative

java.lang.Object
  extended by org.carrot2.filter.trc.carrot.filter.cluster.rough.clustering.ClusterRepresentative
All Implemented Interfaces:
Clusterable

public class ClusterRepresentative
extends Object
implements Clusterable


Field Summary
protected  FeatureVector features
           
protected  int id
           
 
Constructor Summary
ClusterRepresentative(FeatureVector featureVector)
           
ClusterRepresentative(int id, FeatureVector featureVector)
           
 
Method Summary
 FeatureVector getFeatures()
           
 int getIdentifier()
           
 void setFeatures(FeatureVector featureVector)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

features

protected FeatureVector features
Constructor Detail

ClusterRepresentative

public ClusterRepresentative(FeatureVector featureVector)

ClusterRepresentative

public ClusterRepresentative(int id,
                             FeatureVector featureVector)
Method Detail

getIdentifier

public int getIdentifier()
Specified by:
getIdentifier in interface Clusterable

toString

public String toString()
Overrides:
toString in class Object

getFeatures

public FeatureVector getFeatures()
Specified by:
getFeatures in interface Clusterable

setFeatures

public void setFeatures(FeatureVector featureVector)
Specified by:
setFeatures in interface Clusterable


Copyright (c) Dawid Weiss, Stanislaw Osinski