Class OPTICSList.Instance

  • Enclosing class:
    OPTICSList<O>

    private class OPTICSList.Instance
    extends java.lang.Object
    Instance for processing a single data set.
    Author:
    Erich Schubert
    • Constructor Detail

      • Instance

        public Instance​(Relation<O> relation)
        Constructor for a single data set.
        Parameters:
        relation - Data relation
    • Method Detail

      • run

        public ClusterOrder run()
        Process the data set.
        Returns:
        Cluster order result.
      • expandClusterOrder

        protected void expandClusterOrder​(DBIDRef objectID)
        OPTICS-function expandClusterOrder.
        Parameters:
        objectID - the currently processed object
      • findBest

        public void findBest​(ArrayModifiableDBIDs candidates,
                             DBIDArrayMIter it,
                             DBIDVar out)
        Find the minimum in the candidates array.
        Parameters:
        candidates - Candidates set
        it - Array iterator
        out - Output variable