Package elki.datasource
Class GeneratorXMLDatabaseConnection.Par
- java.lang.Object
-
- elki.datasource.AbstractDatabaseConnection.Par
-
- elki.datasource.GeneratorXMLDatabaseConnection.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- GeneratorXMLDatabaseConnection
public static class GeneratorXMLDatabaseConnection.Par extends AbstractDatabaseConnection.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RandomFactory
clusterRandom
Random generator used for initializing cluster generators.static OptionID
CONFIGFILE_ID
Parameter to give the configuration filestatic OptionID
RANDOMSEED_ID
Parameter to give the configuration file(package private) java.util.regex.Pattern
reassign
Pattern for clusters to reassign.static OptionID
REASSIGN_DISTANCE_ID
Reassign by cluster distancestatic OptionID
REASSIGN_ID
Parameter for cluster reassignment(package private) boolean
reassignByDistance
Reassign by distance, not density.static OptionID
SIZE_SCALE_ID
Parameter to give the configuration file(package private) double
sizescale
Parameter for scaling the cluster sizes.(package private) java.net.URI
specfile
The configuration file.-
Fields inherited from class elki.datasource.AbstractDatabaseConnection.Par
filters, FILTERS_ID, parser, PARSER_ID
-
-
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.GeneratorXMLDatabaseConnection
make()
Make an instance after successful configuration.-
Methods inherited from class elki.datasource.AbstractDatabaseConnection.Par
configFilters, configParser
-
-
-
-
Field Detail
-
CONFIGFILE_ID
public static final OptionID CONFIGFILE_ID
Parameter to give the configuration file
-
SIZE_SCALE_ID
public static final OptionID SIZE_SCALE_ID
Parameter to give the configuration file
-
REASSIGN_ID
public static final OptionID REASSIGN_ID
Parameter for cluster reassignment
-
REASSIGN_DISTANCE_ID
public static final OptionID REASSIGN_DISTANCE_ID
Reassign by cluster distance
-
RANDOMSEED_ID
public static final OptionID RANDOMSEED_ID
Parameter to give the configuration file
-
specfile
java.net.URI specfile
The configuration file.
-
sizescale
double sizescale
Parameter for scaling the cluster sizes.
-
reassign
java.util.regex.Pattern reassign
Pattern for clusters to reassign.
-
reassignByDistance
boolean reassignByDistance
Reassign by distance, not density.
-
clusterRandom
RandomFactory clusterRandom
Random generator used for initializing cluster generators.
-
-
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.
- Parameters:
config
- Parameterization
-
make
public GeneratorXMLDatabaseConnection 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.- Returns:
- a new instance
-
-