Class ORCLUS.ORCLUSCluster

  • Enclosing class:
    ORCLUS

    private static final class ORCLUS.ORCLUSCluster
    extends java.lang.Object
    Encapsulates the attributes of a cluster.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) double[][] basis
      The matrix defining the subspace of this cluster.
      (package private) double[] centroid
      The centroid of this cluster.
      (package private) ModifiableDBIDs objectIDs
      The ids of the objects belonging to this cluster.
    • Constructor Summary

      Constructors 
      Constructor Description
      ORCLUSCluster()
      Creates a new empty cluster.
      ORCLUSCluster​(double[] o, DBIDRef id)
      Creates a new cluster containing the specified object o.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • objectIDs

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

        double[][] basis
        The matrix defining the subspace of this cluster. Note: we store the vectors in rows here, think of an array of Eigenvectors.
      • centroid

        double[] centroid
        The centroid of this cluster.
    • Constructor Detail

      • ORCLUSCluster

        ORCLUSCluster()
        Creates a new empty cluster.
      • ORCLUSCluster

        ORCLUSCluster​(double[] o,
                      DBIDRef id)
        Creates a new cluster containing the specified object o.
        Parameters:
        o - the object belonging to this cluster.
        id - Object id