public static class CacheDoubleDistanceKNNLists.Parameterizer<O> extends AbstractApplication.Parameterizer
Modifier and Type | Field and Description |
---|---|
static OptionID |
CACHE_ID
Parameter that specifies the name of the directory to be re-parsed.
|
private DistanceFunction<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 InputStep |
input
Data source to process.
|
private int |
k
Number of neighbors to precompute.
|
static OptionID |
K_ID
Parameter that specifies the number of neighbors to precompute.
|
private File |
out
Output file.
|
DEBUG_ID, DESCRIPTION_ID, HELP_ID, HELP_LONG_ID, INPUT_ID, OUTPUT_ID, VERBOSE_ID
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected CacheDoubleDistanceKNNLists<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
getParameterInputFile, getParameterInputFile, getParameterOutputFile, getParameterOutputFile
configure, make
public static final OptionID CACHE_ID
Key: -loader.diskcache
public static final OptionID DISTANCE_ID
Key: -loader.distance
public static final OptionID K_ID
Key: -loader.k
private InputStep input
private DistanceFunction<O> distance
private int k
private File out
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected CacheDoubleDistanceKNNLists<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractApplication.Parameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.