public class EvaluationVisualization extends AbstractVisFactory
Modifier and Type | Field and Description |
---|---|
private static double |
BARHEIGHT
Constant: height of score bars
|
private static double |
BARLENGTH
Constant: width of score bars
|
private static String |
NAME
Name for this visualizer.
|
Constructor and Description |
---|
EvaluationVisualization()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private double |
addBarChart(SVGPlot svgp,
Element parent,
double ypos,
String label,
double value,
double minValue,
double maxValue,
double baseValue,
boolean reversed) |
private double |
addHeader(SVGPlot svgp,
Element parent,
double ypos,
String text) |
boolean |
allowThumbnails(VisualizationTask task)
Test whether to do a thumbnail or a full rendering.
|
Visualization |
makeVisualization(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Produce a visualization instance for the given task
|
void |
processNewResult(VisualizerContext context,
Object start)
Add visualizers for the given result (tree) to the context.
|
makeVisualizationOrThumbnail
private static final String NAME
private static final double BARLENGTH
private static final double BARHEIGHT
public void processNewResult(VisualizerContext context, Object start)
VisFactory
context
- Visualization contextstart
- Result to processprivate double addBarChart(SVGPlot svgp, Element parent, double ypos, String label, double value, double minValue, double maxValue, double baseValue, boolean reversed)
public Visualization makeVisualization(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projectionpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requestedCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.