Package elki.clustering.dbscan
Class GeneralizedDBSCAN.Par
- java.lang.Object
-
- elki.clustering.dbscan.GeneralizedDBSCAN.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- GeneralizedDBSCAN
public static class GeneralizedDBSCAN.Par extends java.lang.Object implements Parameterizer
Parameterization class- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
coremodel
Track which objects are "core" objects.static OptionID
COREMODEL_ID
Flag to keep track of core points.protected CorePredicate<?>
corepred
Core point predicate.static OptionID
COREPRED_ID
Parameter for core predicate.static OptionID
NEIGHBORHOODPRED_ID
Parameter for neighborhood predicate.protected NeighborPredicate<?>
npred
Neighborhood predicate.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.GeneralizedDBSCAN
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
NEIGHBORHOODPRED_ID
public static final OptionID NEIGHBORHOODPRED_ID
Parameter for neighborhood predicate.
-
COREPRED_ID
public static final OptionID COREPRED_ID
Parameter for core predicate.
-
COREMODEL_ID
public static final OptionID COREMODEL_ID
Flag to keep track of core points.
-
npred
protected NeighborPredicate<?> npred
Neighborhood predicate.
-
corepred
protected CorePredicate<?> corepred
Core point predicate.
-
coremodel
protected boolean coremodel
Track which objects are "core" objects.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public GeneralizedDBSCAN make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-