public static class KNNProcessor.Instance<O> extends Object implements Processor.Instance
Modifier and Type | Field and Description |
---|---|
(package private) int |
k
k Parameter
|
(package private) KNNQuery<O> |
knnq
kNN query
|
(package private) SharedObject.Instance<KNNList> |
out
Output data store
|
Modifier | Constructor and Description |
---|---|
protected |
KNNProcessor.Instance(int k,
KNNQuery<O> knnq,
SharedObject.Instance<KNNList> out)
Constructor.
|
int k
SharedObject.Instance<KNNList> out
protected KNNProcessor.Instance(int k, KNNQuery<O> knnq, SharedObject.Instance<KNNList> out)
k
- K parameterknnq
- KNN queryout
- Output channel to write topublic void map(DBIDRef id)
Processor.Instance
map
in interface Processor.Instance
id
- Object to map.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.