org.carrot2.filter.trc.carrot.filter.cluster.rough.clustering
Class ClusterRepresentative
java.lang.Object
org.carrot2.filter.trc.carrot.filter.cluster.rough.clustering.ClusterRepresentative
- All Implemented Interfaces:
- Clusterable
public class ClusterRepresentative
- extends Object
- implements Clusterable
id
protected int id
features
protected FeatureVector features
ClusterRepresentative
public ClusterRepresentative(FeatureVector featureVector)
ClusterRepresentative
public ClusterRepresentative(int id,
FeatureVector featureVector)
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