Class EpsilonNeighborPredicate<O>

  • Type Parameters:
    O - object type
    All Implemented Interfaces:
    NeighborPredicate<elki.database.ids.DoubleDBIDList>

    @Reference(authors="Martin Ester, Hans-Peter Kriegel, J\u00f6rg Sander, Xiaowei Xu",
               title="A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise",
               booktitle="Proc. 2nd Int. Conf. on Knowledge Discovery and Data Mining (KDD \'96)",
               url="http://www.aaai.org/Library/KDD/1996/kdd96-037.php",
               bibkey="DBLP:conf/kdd/EsterKSX96")
    public class EpsilonNeighborPredicate<O>
    extends java.lang.Object
    implements NeighborPredicate<elki.database.ids.DoubleDBIDList>
    The default DBSCAN and OPTICS neighbor predicate, using an epsilon-neighborhood.

    Reference:

    Martin Ester, Hans-Peter Kriegel, Jörg Sander, Xiaowei Xu
    A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise
    Proc. 2nd Int. Conf. on Knowledge Discovery and Data Mining (KDD '96)

    Since:
    0.5.0
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected elki.distance.Distance<? super O> distance
      Distance function to use
      protected double epsilon
      Range to query with
    • Constructor Summary

      Constructors 
      Constructor Description
      EpsilonNeighborPredicate​(double epsilon, elki.distance.Distance<? super O> distance)
      Full constructor.
    • Field Detail

      • epsilon

        protected double epsilon
        Range to query with
      • distance

        protected elki.distance.Distance<? super O> distance
        Distance function to use
    • Constructor Detail

      • EpsilonNeighborPredicate

        public EpsilonNeighborPredicate​(double epsilon,
                                        elki.distance.Distance<? super O> distance)
        Full constructor.
        Parameters:
        epsilon - Epsilon value
        distance - Distance function to use