public static class FileBasedDoubleDistanceFunction.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
static OptionID |
MATRIX_ID
Parameter that specifies the name of the distance matrix file.
|
protected File |
matrixfile
Input file.
|
protected DistanceParser |
parser
Parser for input file.
|
static OptionID |
PARSER_ID
Optional parameter to specify the parsers to provide a database, must
extend
DistanceParser . |
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected FileBasedDoubleDistanceFunction |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID MATRIX_ID
Key: -distance.matrix
public static final OptionID PARSER_ID
DistanceParser
. If this parameter is not set,
AsciiDistanceParser
is used as parser for all input files.
Key: -distance.parser
protected File matrixfile
protected DistanceParser parser
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected FileBasedDoubleDistanceFunction makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.