public static class CacheDoubleDistanceKNNLists.Parameterizer<O,D extends NumberDistance<D,?>> 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,D> |
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 |
---|
CacheDoubleDistanceKNNLists.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected CacheDoubleDistanceKNNLists<O,D> |
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,D extends NumberDistance<D,?>> distance
private int k
private File out
public CacheDoubleDistanceKNNLists.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected CacheDoubleDistanceKNNLists<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractApplication.Parameterizer