Interface NeighborPredicate.Instance<T>

    • Method Detail

      • getNeighbors

        T getNeighbors​(DBIDRef reference)
        Get the neighbors of a reference object for DBSCAN.
        Parameters:
        reference - Reference object
        Returns:
        Neighborhood
      • getIDs

        DBIDs getIDs()
        Get the IDs the predicate is defined for.
        Returns:
        Database ids
      • iterDBIDs

        DBIDIter iterDBIDs​(T neighbors)
        Add the neighbors to a DBID set
        Parameters:
        neighbors - Neighbors to iterate over
        Returns:
        iterator