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 classLOFProcessor.InstanceInstance
-
Field Summary
Fields Modifier and Type Field Description private DataStore<? extends KNNList>knnsKNN storeprivate DoubleDataStorelrdsLRD storeprivate booleannoselfExclude 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.Instanceinstantiate(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:ProcessorCreate an instance. May be called multiple times, for example for multiple threads.- Specified by:
instantiatein interfaceProcessor- Specified by:
instantiatein classAbstractDoubleProcessor- Parameters:
master- Job executor- Returns:
- Instance
-
-