Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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)  Set<Integer> objectIDs
          The ids of the objects belonging to this cluster.
 
Constructor Summary
PROCLUS.PROCLUSCluster(Set<Integer> 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

Set<Integer> 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(Set<Integer> 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.3 (2010-03-31_1612)