Package elki.index

Class AbstractRefiningIndex.AbstractRefiningQuery

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void incRefinements​(int c)
      Count extra refinements.
      protected double refine​(DBIDRef id, O q)
      Refinement distance computation.
      • Methods inherited from class java.lang.Object

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

      • distanceQuery

        protected DistanceQuery<O> distanceQuery
        Distance query.
    • Constructor Detail

      • AbstractRefiningQuery

        public AbstractRefiningQuery​(DistanceQuery<O> distanceQuery)
        Constructor.
        Parameters:
        distanceQuery - Distance query object
    • Method Detail

      • refine

        protected double refine​(DBIDRef id,
                                O q)
        Refinement distance computation.
        Parameters:
        id - Candidate ID
        q - Query object
        Returns:
        Distance
      • incRefinements

        protected void incRefinements​(int c)
        Count extra refinements.
        Parameters:
        c - Refinements