
V - vector typeD - distance typepublic class KNNJoinMaterializeKNNPreprocessor<V extends NumberVector<?>,D extends Distance<D>> extends AbstractMaterializeKNNPreprocessor<V,D,KNNList<D>>
| Modifier and Type | Class and Description |
|---|---|
static class |
KNNJoinMaterializeKNNPreprocessor.Factory<O extends NumberVector<?>,D extends Distance<D>>
The parameterizable factory.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
Logging class.
|
distanceFunction, distanceQuery, kstoragerelation| Constructor and Description |
|---|
KNNJoinMaterializeKNNPreprocessor(Relation<V> relation,
DistanceFunction<? super V,D> distanceFunction,
int k)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Logging |
getLogger()
Get the classes static logger.
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
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, getDistanceFactory, getDistanceQuery, getK, getKNNQuery, initializeprivate static final Logging LOG
public KNNJoinMaterializeKNNPreprocessor(Relation<V> relation, DistanceFunction<? super V,D> distanceFunction, int k)
relation - Relation to indexdistanceFunction - Distance functionk - kprotected void preprocess()
AbstractMaterializeKNNPreprocessorpreprocess in class AbstractMaterializeKNNPreprocessor<V extends NumberVector<?>,D extends Distance<D>,KNNList<D extends Distance<D>>>protected Logging getLogger()
AbstractPreprocessorIndexgetLogger in class AbstractPreprocessorIndex<V extends NumberVector<?>,KNNList<D extends Distance<D>>>public String getLongName()
ResultgetLongName in interface ResultgetLongName in class AbstractIndex<V extends NumberVector<?>>public String getShortName()
ResultgetShortName in interface ResultgetShortName in class AbstractIndex<V extends NumberVector<?>>public void logStatistics()
Index