public class VisualizerParameterizer extends 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 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,
Collection<VisualizationProcessor> factories)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static 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 String |
shortenClassname(String nam,
char c)
Shorten the class name.
|
private static final Logging LOG
public static final int DEFAULT_SAMPLE_SIZE
private StyleLibrary stylelib
private Collection<VisualizationProcessor> factories
private int samplesize
private RandomFactory rnd
public VisualizerParameterizer(int samplesize, StyleLibrary stylelib, Collection<VisualizationProcessor> factories)
samplesize
- stylelib
- Style libraryfactories
- Factories to usepublic VisualizerContext newContext(ResultHierarchy hier, Result start)
hier
- Result hierarchystart
- Starting resultpublic static String getTitle(Database db, Result result)
db
- Databaseresult
- Result objectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.