V
- vector typepublic class KNNJoinMaterializeKNNPreprocessor<V extends NumberVector> extends AbstractMaterializeKNNPreprocessor<V>
Modifier and Type | Class and Description |
---|---|
static class |
KNNJoinMaterializeKNNPreprocessor.Factory<O extends NumberVector>
The parameterizable factory.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Logging class.
|
distanceFunction, distanceQuery, k
relation, storage
Constructor and Description |
---|
KNNJoinMaterializeKNNPreprocessor(Relation<V> relation,
DistanceFunction<? super V> distanceFunction,
int k)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Logging |
getLogger()
Get the classes static logger.
|
java.lang.String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
java.lang.String |
getShortName()
A short name for the result, useful for file names.
|
void |
logStatistics()
Send statistics to the logger, if enabled.
|
protected void |
preprocess()
Perform the preprocessing step.
|
createStorage, get, getDistanceQuery, getK, getKNNQuery, initialize
private static final Logging LOG
public KNNJoinMaterializeKNNPreprocessor(Relation<V> relation, DistanceFunction<? super V> distanceFunction, int k)
relation
- Relation to indexdistanceFunction
- Distance functionk
- kprotected void preprocess()
AbstractMaterializeKNNPreprocessor
preprocess
in class AbstractMaterializeKNNPreprocessor<V extends NumberVector>
protected Logging getLogger()
AbstractPreprocessorIndex
getLogger
in class AbstractPreprocessorIndex<V extends NumberVector,KNNList>
public java.lang.String getLongName()
Result
public java.lang.String getShortName()
Result
public void logStatistics()
Index
Copyright © 2019 ELKI Development Team. License information.