Interface CorePredicate<T>

  • Type Parameters:
    T - Data type of neighborhoods
    All Known Implementing Classes:
    FourCCorePredicate, MinPtsCorePredicate, PreDeConCorePredicate

    public interface CorePredicate<T>
    Predicate for GeneralizedDBSCAN to evaluate whether a point is a core point or not.

    Note the Factory/Instance split of this interface.

    Since:
    0.5.0
    Author:
    Erich Schubert
    • Method Detail

      • instantiate

        CorePredicate.Instance<T> instantiate​(Database database)
        Instantiate for a database.
        Parameters:
        database - Database to instantiate for
        Returns:
        Instance
      • acceptsType

        boolean acceptsType​(SimpleTypeInformation<? extends T> type)
        Test whether the neighborhood type T is accepted by this predicate.
        Parameters:
        type - Type information
        Returns:
        true when the type is accepted