Package elki.visualization
Class VisualizerParameterizer.Par
- java.lang.Object
-
- elki.visualization.VisualizerParameterizer.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- VisualizerParameterizer
public static class VisualizerParameterizer.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
ENABLEVIS_ID
Parameter to enable visualizersprotected java.util.regex.Pattern
enableVisualizers
Pattern to enable visualizersprotected java.util.Collection<VisualizationProcessor>
factories
Visualizer factoriesprotected int
samplesize
Sampling sizestatic OptionID
SAMPLING_ID
Parameter to set the sampling levelstatic OptionID
SHOWVIS_ID
Parameter to show visualizers hidden by defaultprotected java.util.regex.Pattern
showVisualizers
Pattern to show additional visualizersprotected StyleLibrary
stylelib
Style librarystatic OptionID
STYLELIB_ID
Parameter to get the style properties file.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static <O> java.util.Collection<VisualizationProcessor>
collectFactorys(MergedParameterization config, java.util.regex.Pattern filter)
Collect and instantiate all visualizer factories.void
configure(Parameterization config)
Configure the class.VisualizerParameterizer
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
STYLELIB_ID
public static final OptionID STYLELIB_ID
Parameter to get the style properties file.Included stylesheets:
- classic
- default
- greyscale
- neon
- presentation
*.properties
files in the packageelki.visualization.style
.
-
ENABLEVIS_ID
public static final OptionID ENABLEVIS_ID
Parameter to enable visualizers
-
SAMPLING_ID
public static final OptionID SAMPLING_ID
Parameter to set the sampling level
-
SHOWVIS_ID
public static final OptionID SHOWVIS_ID
Parameter to show visualizers hidden by default
-
stylelib
protected StyleLibrary stylelib
Style library
-
enableVisualizers
protected java.util.regex.Pattern enableVisualizers
Pattern to enable visualizers
-
showVisualizers
protected java.util.regex.Pattern showVisualizers
Pattern to show additional visualizers
-
factories
protected java.util.Collection<VisualizationProcessor> factories
Visualizer factories
-
samplesize
protected int samplesize
Sampling size
-
-
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
-
collectFactorys
private static <O> java.util.Collection<VisualizationProcessor> collectFactorys(MergedParameterization config, java.util.regex.Pattern filter)
Collect and instantiate all visualizer factories.- Parameters:
config
- Parameterizationfilter
- Filter- Returns:
- List of all adapters found.
-
make
public VisualizerParameterizer 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
-
-