de.lmu.ifi.dbs.elki.algorithm.clustering.subspace
Class PROCLUS.PROCLUSCluster

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.clustering.subspace.PROCLUS.PROCLUSCluster
Enclosing class:
PROCLUS<V extends NumberVector<V,?>>

private class PROCLUS.PROCLUSCluster
extends Object

Encapsulates the attributes of a cluster.


Field Summary
(package private)  V centroid
          The centroids of this cluster along each dimension.
(package private)  Set<Integer> dimensions
          The correlated dimensions of this cluster.
(package private)  ModifiableDBIDs objectIDs
          The ids of the objects belonging to this cluster.
 
Constructor Summary
PROCLUS.PROCLUSCluster(ModifiableDBIDs objectIDs, Set<Integer> dimensions, V centroid)
          Provides a new cluster with the specified parameters.
 
Method Summary
 BitSet getDimensions()
          Returns the correlated dimensions of this cluster as BitSet.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objectIDs

ModifiableDBIDs objectIDs
The ids of the objects belonging to this cluster.


dimensions

Set<Integer> dimensions
The correlated dimensions of this cluster.


centroid

V extends NumberVector<V,?> centroid
The centroids of this cluster along each dimension.

Constructor Detail

PROCLUS.PROCLUSCluster

public PROCLUS.PROCLUSCluster(ModifiableDBIDs objectIDs,
                              Set<Integer> dimensions,
                              V centroid)
Provides a new cluster with the specified parameters.

Parameters:
objectIDs - the ids of the objects belonging to this cluster
dimensions - the correlated dimensions of this cluster
centroid - the centroid of this cluster
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getDimensions

public BitSet getDimensions()
Returns the correlated dimensions of this cluster as BitSet.

Returns:
the correlated dimensions of this cluster as BitSet

Release 0.4.0 (2011-09-20_1324)