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 boolean
append
Always append to the output file.static OptionID
APPEND_ID
Append flag.static OptionID
FORCE_LABEL_ID
Force label parameter.private java.lang.String
forceLabel
Optional label to force for this output.static OptionID
OUT_ID
Output file name parameter.private java.nio.file.Path
outputFile
Output file.
-
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.ClusteringVectorDumper
make()
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: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.
- Specified by:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public ClusteringVectorDumper 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
- Returns:
- a new instance
-
-