Class MinPtsCorePredicate.Instance
- java.lang.Object
-
- elki.clustering.dbscan.predicates.MinPtsCorePredicate.Instance
-
- All Implemented Interfaces:
CorePredicate.Instance<DBIDs>
- Enclosing class:
- MinPtsCorePredicate
public static class MinPtsCorePredicate.Instance extends java.lang.Object implements CorePredicate.Instance<DBIDs>
Instance for a particular data set.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected int
minpts
The minpts parameter.
-
Constructor Summary
Constructors Constructor Description Instance(int minpts)
Constructor for this predicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCorePoint(DBIDRef point, DBIDs neighbors)
Decide whether the point is a core point, based on its neighborhood.
-
-
-
Method Detail
-
isCorePoint
public boolean isCorePoint(DBIDRef point, DBIDs neighbors)
Description copied from interface:CorePredicate.Instance
Decide whether the point is a core point, based on its neighborhood.- Specified by:
isCorePoint
in interfaceCorePredicate.Instance<DBIDs>
- Parameters:
point
- Query pointneighbors
- Neighbors- Returns:
- core point property
-
-