
V - Vector typepublic class RangeQuerySelectivity<V extends NumberVector> extends AbstractDistanceBasedAlgorithm<V,Result>
| Modifier and Type | Class and Description |
|---|---|
static class |
RangeQuerySelectivity.Parameterizer<V extends NumberVector>
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
The logger for this class.
|
protected double |
radius
Query radius
|
protected RandomFactory |
random
Random sampling seed.
|
protected double |
sampling
Relative number of object to use in sampling.
|
DISTANCE_FUNCTION_ID| Constructor and Description |
|---|
RangeQuerySelectivity(DistanceFunction<? super V> distanceFunction,
double radius,
double sampling,
RandomFactory random)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
Result |
run(Database database,
Relation<V> relation) |
getDistanceFunctionmakeParameterDistanceFunction, runprivate static final Logging LOG
protected double radius
protected double sampling
protected RandomFactory random
public RangeQuerySelectivity(DistanceFunction<? super V> distanceFunction, double radius, double sampling, RandomFactory random)
distanceFunction - Distance functionradius - Radiussampling - Sampling raterandom - Random sampling generatorpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<Result>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<Result>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.