public class VisualizerParameterizer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VisualizerParameterizer.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SAMPLE_SIZE
Default sample size to visualize.
|
private java.util.Collection<VisualizationProcessor> |
factories
Projections and visualization factories.
|
private static Logging |
LOG
Get a logger for this class.
|
private RandomFactory |
rnd
Random seed for sampling.
|
private int |
samplesize
Sample size
|
private StyleLibrary |
stylelib
Style library to use.
|
Constructor and Description |
---|
VisualizerParameterizer(int samplesize,
StyleLibrary stylelib,
java.util.Collection<VisualizationProcessor> factories)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getTitle(Database db,
Result result)
Try to automatically generate a title for this.
|
VisualizerContext |
newContext(ResultHierarchy hier,
Result start)
Make a new visualization context
|
protected static java.lang.String |
shortenClassname(java.lang.String nam,
char c)
Shorten the class name.
|
private static final Logging LOG
public static final int DEFAULT_SAMPLE_SIZE
private StyleLibrary stylelib
private java.util.Collection<VisualizationProcessor> factories
private int samplesize
private RandomFactory rnd
public VisualizerParameterizer(int samplesize, StyleLibrary stylelib, java.util.Collection<VisualizationProcessor> factories)
samplesize
- stylelib
- Style libraryfactories
- Factories to usepublic VisualizerContext newContext(ResultHierarchy hier, Result start)
hier
- Result hierarchystart
- Starting resultpublic static java.lang.String getTitle(Database db, Result result)
db
- Databaseresult
- Result objectprotected static java.lang.String shortenClassname(java.lang.String nam, char c)
nam
- Class namec
- Splitting characterCopyright © 2019 ELKI Development Team. License information.