Class LOFProcessor

  • All Implemented Interfaces:
    elki.parallel.processor.Processor

    public class LOFProcessor
    extends elki.parallel.processor.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 elki.database.datastore.DataStore<? extends elki.database.ids.KNNList> knns
      KNN store
      private elki.database.datastore.DoubleDataStore lrds
      LRD store
      private boolean noself
      Exclude object itself from computation.
      • Fields inherited from class elki.parallel.processor.AbstractDoubleProcessor

        output
    • Constructor Summary

      Constructors 
      Constructor Description
      LOFProcessor​(elki.database.datastore.DataStore<? extends elki.database.ids.KNNList> knns, elki.database.datastore.DoubleDataStore lrds, boolean noself)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LOFProcessor.Instance instantiate​(elki.parallel.Executor master)  
      • Methods inherited from class elki.parallel.processor.AbstractDoubleProcessor

        cleanup, connectOutput
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • knns

        private elki.database.datastore.DataStore<? extends elki.database.ids.KNNList> knns
        KNN store
      • lrds

        private elki.database.datastore.DoubleDataStore lrds
        LRD store
      • noself

        private boolean noself
        Exclude object itself from computation.
    • Constructor Detail

      • LOFProcessor

        public LOFProcessor​(elki.database.datastore.DataStore<? extends elki.database.ids.KNNList> knns,
                            elki.database.datastore.DoubleDataStore lrds,
                            boolean noself)
        Constructor.
        Parameters:
        knns - k nearest neighbors
        lrds - Local reachability distances
        noself - Exclude self from neighbors
    • Method Detail

      • instantiate

        public LOFProcessor.Instance instantiate​(elki.parallel.Executor master)
        Specified by:
        instantiate in interface elki.parallel.processor.Processor
        Specified by:
        instantiate in class elki.parallel.processor.AbstractDoubleProcessor