Class HiSC.Instance

    • Constructor Summary

      Constructors 
      Constructor Description
      Instance​(elki.database.relation.Relation<? extends elki.data.NumberVector> relation)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected CorrelationClusterOrder buildResult()
      Build the final result.
      int compare​(elki.database.ids.DBIDRef o1, elki.database.ids.DBIDRef o2)  
      private long[] determinePreferenceVector​(elki.database.ids.DBIDRef id, elki.database.ids.DBIDs neighborIDs)
      Determines the preference vector according to the specified neighbor ids.
      protected void expandDBID​(elki.database.ids.DBIDRef id)
      Add the current DBID to the cluster order, and expand its neighbors if minPts and similar conditions are satisfied.
      protected elki.logging.Logging getLogger()
      Get the class logger.
      protected void initialDBID​(elki.database.ids.DBIDRef id)
      Initialize for a new DBID.
      CorrelationClusterOrder run()
      Process the data set.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Field Detail

      • preferenceVectors

        protected elki.database.datastore.WritableDataStore<long[]> preferenceVectors
        The data store.
      • clusterOrder

        private elki.database.ids.ArrayModifiableDBIDs clusterOrder
        Cluster order.
      • relation

        private elki.database.relation.Relation<? extends elki.data.NumberVector> relation
        Data relation.
      • correlationValue

        private elki.database.datastore.WritableIntegerDataStore correlationValue
        Correlation dimensionality.
      • commonPreferenceVectors

        private elki.database.datastore.WritableDataStore<long[]> commonPreferenceVectors
        Shared preference vectors.
    • Constructor Detail

      • Instance

        public Instance​(elki.database.relation.Relation<? extends elki.data.NumberVector> relation)
        Constructor.
        Parameters:
        relation - Relation