Package elki.outlier.lof.parallel
Class LOFProcessor
- java.lang.Object
-
- elki.parallel.processor.AbstractDoubleProcessor
-
- elki.outlier.lof.parallel.LOFProcessor
-
- All Implemented Interfaces:
Processor
public class LOFProcessor extends AbstractDoubleProcessor
Processor for computing the LOF.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
LOFProcessor.Instance
Instance
-
Field Summary
Fields Modifier and Type Field Description private DataStore<? extends KNNList>
knns
KNN storeprivate DoubleDataStore
lrds
LRD storeprivate boolean
noself
Exclude object itself from computation.-
Fields inherited from class elki.parallel.processor.AbstractDoubleProcessor
output
-
-
Constructor Summary
Constructors Constructor Description LOFProcessor(DataStore<? extends KNNList> knns, DoubleDataStore lrds, boolean noself)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LOFProcessor.Instance
instantiate(Executor master)
Create an instance.-
Methods inherited from class elki.parallel.processor.AbstractDoubleProcessor
cleanup, connectOutput
-
-
-
-
Field Detail
-
lrds
private DoubleDataStore lrds
LRD store
-
noself
private boolean noself
Exclude object itself from computation.
-
-
Constructor Detail
-
LOFProcessor
public LOFProcessor(DataStore<? extends KNNList> knns, DoubleDataStore lrds, boolean noself)
Constructor.- Parameters:
knns
- k nearest neighborslrds
- Local reachability distancesnoself
- Exclude self from neighbors
-
-
Method Detail
-
instantiate
public LOFProcessor.Instance instantiate(Executor master)
Description copied from interface:Processor
Create an instance. May be called multiple times, for example for multiple threads.- Specified by:
instantiate
in interfaceProcessor
- Specified by:
instantiate
in classAbstractDoubleProcessor
- Parameters:
master
- Job executor- Returns:
- Instance
-
-