Package elki.result
Class ClusteringVectorDumper.Par
- java.lang.Object
-
- elki.result.ClusteringVectorDumper.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ClusteringVectorDumper
public static class ClusteringVectorDumper.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private booleanappendAlways append to the output file.static OptionIDAPPEND_IDAppend flag.static OptionIDFORCE_LABEL_IDForce label parameter.private java.lang.StringforceLabelOptional label to force for this output.static OptionIDOUT_IDOutput file name parameter.private java.nio.file.PathoutputFileOutput file.
-
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.ClusteringVectorDumpermake()Make an instance after successful configuration.
-
-
-
Field Detail
-
OUT_ID
public static final OptionID OUT_ID
Output file name parameter.
-
APPEND_ID
public static final OptionID APPEND_ID
Append flag.
-
FORCE_LABEL_ID
public static final OptionID FORCE_LABEL_ID
Force label parameter.
-
outputFile
private java.nio.file.Path outputFile
Output file.
-
forceLabel
private java.lang.String forceLabel
Optional label to force for this output.
-
append
private boolean append
Always append to the 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.
- Specified by:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
make
public ClusteringVectorDumper 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- Returns:
- a new instance
-
-