public static class MinPtsCorePredicate.NeighborListInstance extends Object implements CorePredicate.Instance<List<? extends DistanceResultPair<?>>>
Modifier and Type | Field and Description |
---|---|
(package private) int |
minpts
The minpts parameter.
|
Constructor and Description |
---|
MinPtsCorePredicate.NeighborListInstance(int minpts)
Constructor for this predicate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCorePoint(DBIDRef point,
List<? extends DistanceResultPair<?>> neighbors)
Decide whether the point is a core point, based on its neighborhood.
|
public MinPtsCorePredicate.NeighborListInstance(int minpts)
minpts
- MinPts parameterpublic boolean isCorePoint(DBIDRef point, List<? extends DistanceResultPair<?>> neighbors)
CorePredicate.Instance
isCorePoint
in interface CorePredicate.Instance<List<? extends DistanceResultPair<?>>>
point
- Query pointneighbors
- Neighbors