Class RangeQuerySelectivity<V extends NumberVector>

  • Type Parameters:
    V - Vector type

    public class RangeQuerySelectivity<V extends NumberVector>
    extends AbstractDistanceBasedApplication<V>
    Evaluate the range query selectivity.

    TODO: Add sampling

    Since:
    0.7.0
    Author:
    Erich Schubert
    • Field Detail

      • LOG

        private static final Logging LOG
        The logger for this class.
      • radius

        protected double radius
        Query radius
      • sampling

        protected double sampling
        Relative number of object to use in sampling.
    • Constructor Detail

      • RangeQuerySelectivity

        public RangeQuerySelectivity​(InputStep inputstep,
                                     Distance<? super V> distance,
                                     double radius,
                                     double sampling,
                                     RandomFactory random)
        Constructor.
        Parameters:
        inputstep - Input step
        distance - Distance function
        radius - Radius
        sampling - Sampling rate
        random - Random sampling generator