Package elki.index.preprocessed.knn
Class KNNJoinMaterializeKNNPreprocessor<V extends SpatialComparable>
- java.lang.Object
-
- elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor<V>
-
- elki.index.preprocessed.knn.KNNJoinMaterializeKNNPreprocessor<V>
-
- Type Parameters:
V
- vector type
public class KNNJoinMaterializeKNNPreprocessor<V extends SpatialComparable> extends AbstractMaterializeKNNPreprocessor<V>
Class to materialize the kNN using a spatial join on an R-tree.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KNNJoinMaterializeKNNPreprocessor.Factory<O extends SpatialComparable>
The parameterizable factory.
-
Field Summary
Fields Modifier and Type Field Description private static Logging
LOG
Logging class.-
Fields inherited from class elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor
distance, distanceQuery, k, relation, storage
-
-
Constructor Summary
Constructors Constructor Description KNNJoinMaterializeKNNPreprocessor(Relation<V> relation, Distance<? super V> distance, int k)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Logging
getLogger()
Get the classes static logger.java.lang.String
getLongName()
java.lang.String
getShortName()
protected void
preprocess()
Perform the preprocessing step.-
Methods inherited from class elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor
createStorage, get, getDistanceQuery, getK, initialize, kNNByDBID, kNNByObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.index.Index
logStatistics
-
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Logging class.
-
-
Method Detail
-
preprocess
protected void preprocess()
Description copied from class:AbstractMaterializeKNNPreprocessor
Perform the preprocessing step.- Specified by:
preprocess
in classAbstractMaterializeKNNPreprocessor<V extends SpatialComparable>
-
getLogger
protected Logging getLogger()
Description copied from class:AbstractMaterializeKNNPreprocessor
Get the classes static logger.- Specified by:
getLogger
in classAbstractMaterializeKNNPreprocessor<V extends SpatialComparable>
- Returns:
- Logger
-
getLongName
public java.lang.String getLongName()
-
getShortName
public java.lang.String getShortName()
-
-