Class ColoredHistogramVisualizer.Par
- java.lang.Object
-
- elki.visualization.visualizers.histogram.ColoredHistogramVisualizer.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ColoredHistogramVisualizer
public static class ColoredHistogramVisualizer.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected int
bins
Number of bins to use in the histogram.protected boolean
curves
Internal storage of the curves flag.static OptionID
HISTOGRAM_BINS_ID
Parameter to specify the number of bins to use in histogram.static OptionID
STYLE_CURVES_ID
Flag to specify the "curves" rendering style.
-
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.ColoredHistogramVisualizer
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
STYLE_CURVES_ID
public static final OptionID STYLE_CURVES_ID
Flag to specify the "curves" rendering style.
-
HISTOGRAM_BINS_ID
public static final OptionID HISTOGRAM_BINS_ID
Parameter to specify the number of bins to use in histogram.
-
curves
protected boolean curves
Internal storage of the curves flag.
-
bins
protected int bins
Number of bins to use in the histogram.
-
-
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 ColoredHistogramVisualizer 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
-
-