public class KDistanceProcessor extends AbstractDoubleProcessor
KNNProcessor
.Modifier and Type | Class and Description |
---|---|
static class |
KDistanceProcessor.Instance
Instance for precomputing the kNN.
|
Modifier and Type | Field and Description |
---|---|
(package private) SharedObject<? extends KNNList> |
input
KNN query object
|
(package private) int |
k
K parameter
|
output
Constructor and Description |
---|
KDistanceProcessor(int k)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
connectKNNInput(SharedObject<? extends KNNList> input)
Connect the input channel.
|
KDistanceProcessor.Instance |
instantiate(Executor executor)
Create an instance.
|
cleanup, connectOutput
int k
SharedObject<? extends KNNList> input
public KDistanceProcessor(int k)
k
- K parameterpublic void connectKNNInput(SharedObject<? extends KNNList> input)
input
- Input channelpublic KDistanceProcessor.Instance instantiate(Executor executor)
Processor
instantiate
in interface Processor
instantiate
in class AbstractDoubleProcessor
executor
- Job executorCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.