public static class KNNProcessor.Instance<O> extends java.lang.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 |
Instance(int k,
KNNQuery<O> knnq,
SharedObject.Instance<KNNList> out)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
map(DBIDRef id)
Process ("map") a single object
|
int k
SharedObject.Instance<KNNList> out
protected 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 © 2019 ELKI Development Team. License information.