Class OPTICSXi.SteepScanPosition

  • Enclosing class:
    OPTICSXi

    private static class OPTICSXi.SteepScanPosition
    extends java.lang.Object
    Position when scanning for steep areas
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) ClusterOrder co
      Cluster order
      private elki.database.ids.DBIDArrayIter cur
      Variable for accessing.
      (package private) int index
      Current position
      private elki.database.ids.DBIDArrayIter next
      Variable for accessing.
      private elki.logging.progress.FiniteProgress prog
      Progress for logging.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getNextReachability()
      Get current reachability.
      double getReachability()
      Get current reachability.
      boolean hasNext()
      Test whether there is a next value.
      void next()
      Advance to the next entry
      boolean steepDown​(double ixi)
      Test for a steep down area.
      boolean steepUp​(double ixi)
      Test for a steep up point.
      • Methods inherited from class java.lang.Object

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

      • index

        int index
        Current position
      • cur

        private elki.database.ids.DBIDArrayIter cur
        Variable for accessing.
      • next

        private elki.database.ids.DBIDArrayIter next
        Variable for accessing.
      • prog

        private elki.logging.progress.FiniteProgress prog
        Progress for logging.
    • Constructor Detail

      • SteepScanPosition

        public SteepScanPosition​(ClusterOrder co)
        Constructor.
        Parameters:
        co - Cluster order
    • Method Detail

      • next

        public void next()
        Advance to the next entry
      • hasNext

        public boolean hasNext()
        Test whether there is a next value.
        Returns:
        end of cluster order
      • steepUp

        public boolean steepUp​(double ixi)
        Test for a steep up point.
        Parameters:
        ixi - steepness factor (1-xi)
        Returns:
        truth value
      • steepDown

        public boolean steepDown​(double ixi)
        Test for a steep down area.
        Parameters:
        ixi - Steepness factor (1-xi)
        Returns:
        truth value
      • getReachability

        public double getReachability()
        Get current reachability.
        Returns:
        Reachability
      • getNextReachability

        public double getNextReachability()
        Get current reachability.
        Returns:
        Reachability