Package elki.parallel.processor
Class KDistanceProcessor.Instance
- java.lang.Object
-
- elki.parallel.processor.AbstractDoubleProcessor.Instance
-
- elki.parallel.processor.KDistanceProcessor.Instance
-
- All Implemented Interfaces:
Processor.Instance
- Enclosing class:
- KDistanceProcessor
public static class KDistanceProcessor.Instance extends AbstractDoubleProcessor.Instance
Instance for precomputing the kNN.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SharedObject.Instance<? extends KNNList>
input
kNN query(package private) int
k
k Parameter-
Fields inherited from class elki.parallel.processor.AbstractDoubleProcessor.Instance
output
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Instance(int k, SharedObject.Instance<? extends KNNList> input, SharedDouble.Instance store)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
map(DBIDRef id)
Process ("map") a single object
-
-
-
Field Detail
-
k
int k
k Parameter
-
input
SharedObject.Instance<? extends KNNList> input
kNN query
-
-
Constructor Detail
-
Instance
protected Instance(int k, SharedObject.Instance<? extends KNNList> input, SharedDouble.Instance store)
Constructor.- Parameters:
k
- K parameterinput
- kNN input datastore
- Datastore to write to
-
-
Method Detail
-
map
public void map(DBIDRef id)
Description copied from interface:Processor.Instance
Process ("map") a single object- Specified by:
map
in interfaceProcessor.Instance
- Specified by:
map
in classAbstractDoubleProcessor.Instance
- Parameters:
id
- Object to map.
-
-