
N - the type of spatial nodes in the spatial indexE - the type of spatial entries in the spatial index@Title(value="Spatial Approximation Materialize kNN Preprocessor") @Description(value="Caterializes the (approximate) k nearest neighbors of objects of a database using a spatial approximation.") public class SpatialApproximationMaterializeKNNPreprocessor<O extends NumberVector,N extends SpatialNode<N,E>,E extends SpatialEntry> extends AbstractMaterializeKNNPreprocessor<O>
LOF.
TODO correct handling of datastore events| Modifier and Type | Class and Description |
|---|---|
static class |
SpatialApproximationMaterializeKNNPreprocessor.Factory<N extends SpatialNode<N,E>,E extends SpatialEntry>
The actual preprocessor instance.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
Logger to use
|
distanceFunction, distanceQuery, kstoragerelation| Constructor and Description |
|---|
SpatialApproximationMaterializeKNNPreprocessor(Relation<O> relation,
DistanceFunction<? super O> 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, getDistanceQuery, getK, getKNNQuery, initializeprivate static final Logging LOG
public SpatialApproximationMaterializeKNNPreprocessor(Relation<O> relation, DistanceFunction<? super O> distanceFunction, int k)
relation - Relation to preprocessdistanceFunction - the distance function to usek - query kprotected void preprocess()
AbstractMaterializeKNNPreprocessorpreprocess in class AbstractMaterializeKNNPreprocessor<O extends NumberVector>protected Logging getLogger()
AbstractPreprocessorIndexgetLogger in class AbstractPreprocessorIndex<O extends NumberVector,KNNList>public String getLongName()
ResultgetLongName in interface ResultgetLongName in class AbstractIndex<O extends NumberVector>public String getShortName()
ResultgetShortName in interface ResultgetShortName in class AbstractIndex<O extends NumberVector>public void logStatistics()
IndexCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.