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, krelation, 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, initializeprivate static final Logging LOG
public KNNJoinMaterializeKNNPreprocessor(Relation<V> relation, DistanceFunction<? super V> distanceFunction, int k)
relation - Relation to indexdistanceFunction - Distance functionk - kprotected void preprocess()
AbstractMaterializeKNNPreprocessorpreprocess in class AbstractMaterializeKNNPreprocessor<V extends NumberVector>protected Logging getLogger()
AbstractPreprocessorIndexgetLogger in class AbstractPreprocessorIndex<V extends NumberVector,KNNList>public java.lang.String getLongName()
Resultpublic java.lang.String getShortName()
Resultpublic void logStatistics()
IndexCopyright © 2019 ELKI Development Team. License information.