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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CorePredicate.Instance<T>
Instance for a particular data set.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptsType(SimpleTypeInformation<? extends T> type)
Test whether the neighborhood type T is accepted by this predicate.CorePredicate.Instance<T>
instantiate(Database database)
Instantiate for a database.
-
-
-
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
-
-