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