Package elki.application.statistics
Class RangeQuerySelectivity<V extends NumberVector>
- java.lang.Object
-
- elki.application.AbstractApplication
-
- elki.application.AbstractDistanceBasedApplication<V>
-
- elki.application.statistics.RangeQuerySelectivity<V>
-
- 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 Summary
Fields Modifier and Type Field Description private static Logging
LOG
The logger for this class.protected double
radius
Query radiusprotected RandomFactory
random
Random sampling seed.protected double
sampling
Relative number of object to use in sampling.-
Fields inherited from class elki.application.AbstractDistanceBasedApplication
distance, inputstep
-
Fields inherited from class elki.application.AbstractApplication
REFERENCE, VERSION
-
-
Constructor Summary
Constructors Constructor Description RangeQuerySelectivity(InputStep inputstep, Distance<? super V> distance, double radius, double sampling, RandomFactory random)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Runs the application.-
Methods inherited from class elki.application.AbstractApplication
printErrorMessage, runCLIApplication, usage
-
-
-
-
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.
-
random
protected RandomFactory random
Random sampling seed.
-
-
Constructor Detail
-
RangeQuerySelectivity
public RangeQuerySelectivity(InputStep inputstep, Distance<? super V> distance, double radius, double sampling, RandomFactory random)
Constructor.- Parameters:
inputstep
- Input stepdistance
- Distance functionradius
- Radiussampling
- Sampling raterandom
- Random sampling generator
-
-
Method Detail
-
run
public void run()
Description copied from class:AbstractApplication
Runs the application.- Specified by:
run
in classAbstractApplication
-
-