Package elki.application.experiments
Class ORLibBenchmark.Par<O>
- java.lang.Object
-
- elki.application.AbstractApplication.Par
-
- elki.application.experiments.ORLibBenchmark.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ORLibBenchmark
public static class ORLibBenchmark.Par<O> extends AbstractApplication.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<? extends ClusteringAlgorithm<?>>
alg
Clustering algorithmprivate java.net.URI
file
Input file.static OptionID
FILE_ID
Parameter that specifies the name of the directory to be re-parsed.private KMedoidsInitialization<DBID>
init
Initialization method.(package private) int
k
Number of clusters override (optional)(package private) RandomFactory
rnd
Random generator for shuffling.static OptionID
SHUFFLE_ID
Random seed for shuffling.-
Fields inherited from class elki.application.AbstractApplication.Par
DATABASE_ID, DEBUG_ID, DESCRIPTION_ID, HELP_ID, HELP_LONG_ID, INPUT_ID, OUTPUT_ID, VERBOSE_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.ORLibBenchmark
make()
Make an instance after successful configuration.-
Methods inherited from class elki.application.AbstractApplication.Par
applyLoggingLevels, getParameterInputFile, getParameterInputFile, getParameterOutputFile, getParameterOutputFile, parseDebugParameter, parseVerbose
-
-
-
-
Field Detail
-
FILE_ID
public static final OptionID FILE_ID
Parameter that specifies the name of the directory to be re-parsed.
-
SHUFFLE_ID
public static final OptionID SHUFFLE_ID
Random seed for shuffling.
-
file
private java.net.URI file
Input file.
-
alg
private java.lang.Class<? extends ClusteringAlgorithm<?>> alg
Clustering algorithm
-
init
private KMedoidsInitialization<DBID> init
Initialization method.
-
k
int k
Number of clusters override (optional)
-
rnd
RandomFactory rnd
Random generator for shuffling.
-
-
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 ORLibBenchmark 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
- Specified by:
make
in classAbstractApplication.Par
- Returns:
- a new instance
-
-