Package elki.application.cache
Class CacheDoubleDistanceInOnDiskMatrix.Par<O>
- java.lang.Object
-
- elki.application.AbstractApplication.Par
-
- elki.application.cache.CacheDoubleDistanceInOnDiskMatrix.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- CacheDoubleDistanceInOnDiskMatrix<O>
public static class CacheDoubleDistanceInOnDiskMatrix.Par<O> extends AbstractApplication.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
CACHE_ID
Parameter that specifies the name of the directory to be re-parsed.private Database
database
Data source to process.private Distance<? super O>
distance
Distance function that is to be cached.static OptionID
DISTANCE_ID
Parameter that specifies the name of the directory to be re-parsed.private java.nio.file.Path
out
Output file.-
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.CacheDoubleDistanceInOnDiskMatrix<O>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.application.AbstractApplication.Par
applyLoggingLevels, getParameterInputFile, getParameterInputFile, getParameterOutputFile, getParameterOutputFile, parseDebugParameter, parseVerbose
-
-
-
-
Field Detail
-
CACHE_ID
public static final OptionID CACHE_ID
Parameter that specifies the name of the directory to be re-parsed.
-
DISTANCE_ID
public static final OptionID DISTANCE_ID
Parameter that specifies the name of the directory to be re-parsed.
-
database
private Database database
Data source to process.
-
out
private java.nio.file.Path out
Output file.
-
-
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 CacheDoubleDistanceInOnDiskMatrix<O> 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
-
-