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 OptionIDCACHE_IDParameter that specifies the name of the directory to be re-parsed.private DatabasedatabaseData source to process.private Distance<? super O>distanceDistance function that is to be cached.static OptionIDDISTANCE_IDParameter that specifies the name of the directory to be re-parsed.private java.nio.file.PathoutOutput 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 voidconfigure(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:ParameterizerConfigure 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:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Specified by:
makein classAbstractApplication.Par- Returns:
- a new instance
-
-