Class 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()  
      • 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

        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 cluster
        dimensions - the correlated dimensions of this cluster
        centroid - the centroid of this cluster
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getDimensions

        public long[] getDimensions()
        Returns the correlated dimensions of this cluster as BitSet.
        Returns:
        the correlated dimensions of this cluster as BitSet