public class VisualizerParameterizer extends Object implements Parameterizable
Modifier and Type | Class and Description |
---|---|
static class |
VisualizerParameterizer.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENABLEVIS
Default pattern for visualizer enabling.
|
static OptionID |
ENABLEVIS_ID
Parameter to enable visualizers
Key: -vis.enable
Default: ELKI core
|
private Collection<VisFactory> |
factories
(Result-to-visualization) Adapters
|
private static Logging |
LOG
Get a logger for this class.
|
private Collection<ProjectorFactory> |
projectors
Projectors to use.
|
private RandomFactory |
rnd
Random seed for sampling.
|
private int |
samplesize
Sample size
|
static OptionID |
SAMPLING_ID
Parameter to set the sampling level
Key: -vis.sampling
|
private StyleLibrary |
stylelib
Style library to use.
|
static OptionID |
STYLELIB_ID
Parameter to get the style properties file.
|
Constructor and Description |
---|
VisualizerParameterizer(int samplesize,
StyleLibrary stylelib,
Collection<ProjectorFactory> projectors,
Collection<VisFactory> factories,
Pattern hideVisualizers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static String |
getTitle(Database db,
Result result)
Try to automatically generate a title for this.
|
VisualizerContext |
newContext(HierarchicalResult result)
Make a new visualization context
|
private static final Logging LOG
public static final OptionID STYLELIB_ID
Key: -visualizer.stylesheet
Default: default properties file
included stylesheets:
*.properties
files in the package
de.lmu.ifi.dbs.elki.visualization.style
.
public static final String DEFAULT_ENABLEVIS
public static final OptionID ENABLEVIS_ID
Key: -vis.enable Default: ELKI core
public static final OptionID SAMPLING_ID
Key: -vis.sampling
private StyleLibrary stylelib
private Collection<VisFactory> factories
private Collection<ProjectorFactory> projectors
private int samplesize
private RandomFactory rnd
public VisualizerParameterizer(int samplesize, StyleLibrary stylelib, Collection<ProjectorFactory> projectors, Collection<VisFactory> factories, Pattern hideVisualizers)
samplesize
- stylelib
- Style libraryprojectors
- Projectorsfactories
- Factories to usehideVisualizers
- Visualizer hiding patternpublic VisualizerContext newContext(HierarchicalResult result)
result
- Base result