Package elki.clustering.subspace
Class PROCLUS.PROCLUSCluster
- java.lang.Object
-
- elki.clustering.subspace.PROCLUS.PROCLUSCluster
-
- Enclosing class:
- PROCLUS
private static class PROCLUS.PROCLUSCluster extends java.lang.Object
Encapsulates the attributes of a cluster.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double[]
centroid
The centroids of this cluster along each dimension.(package private) long[]
dimensions
The correlated dimensions of this cluster.(package private) ModifiableDBIDs
objectIDs
The ids of the objects belonging to this cluster.
-
Constructor Summary
Constructors Constructor Description PROCLUSCluster(ModifiableDBIDs objectIDs, long[] dimensions, double[] centroid)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]
getDimensions()
Returns the correlated dimensions of this cluster as BitSet.java.lang.String
toString()
-
-
-
Field Detail
-
objectIDs
ModifiableDBIDs objectIDs
The ids of the objects belonging to this cluster.
-
dimensions
long[] dimensions
The correlated dimensions of this cluster.
-
centroid
double[] centroid
The centroids of this cluster along each dimension.
-
-
Constructor Detail
-
PROCLUSCluster
public PROCLUSCluster(ModifiableDBIDs objectIDs, long[] dimensions, double[] centroid)
Constructor.- Parameters:
objectIDs
- the ids of the objects belonging to this clusterdimensions
- the correlated dimensions of this clustercentroid
- the centroid of this cluster
-
-