Package elki.application.cache
Class PrecomputeDistancesAsciiApplication.Par<O>
- java.lang.Object
-
- elki.application.AbstractApplication.Par
-
- elki.application.cache.PrecomputeDistancesAsciiApplication.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- PrecomputeDistancesAsciiApplication<O>
public static class PrecomputeDistancesAsciiApplication.Par<O> extends AbstractApplication.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description 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.PrecomputeDistancesAsciiApplication<O>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.application.AbstractApplication.Par
applyLoggingLevels, getParameterInputFile, getParameterInputFile, getParameterOutputFile, getParameterOutputFile, parseDebugParameter, parseVerbose
-
-
-
-
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 PrecomputeDistancesAsciiApplication<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
-
-