public class EvaluationVisualization extends java.lang.Object implements VisFactory
| 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 java.lang.String |
NAME
Name for this visualizer.
|
| Constructor and Description |
|---|
EvaluationVisualization()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private double |
addBarChart(SVGPlot svgp,
org.w3c.dom.Element parent,
double ypos,
java.lang.String label,
double value,
double minValue,
double maxValue,
double baseValue,
boolean reversed) |
private double |
addHeader(SVGPlot svgp,
org.w3c.dom.Element parent,
double ypos,
java.lang.String text) |
boolean |
allowThumbnails(VisualizationTask task)
Test whether to do a thumbnail or a full rendering.
|
Visualization |
makeVisualization(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Produce a visualization instance for the given task
|
void |
processNewResult(VisualizerContext context,
java.lang.Object start)
Add visualizers for the given result (tree) to the context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeVisualizationOrThumbnailprivate static final java.lang.String NAME
private static final double BARLENGTH
private static final double BARHEIGHT
public void processNewResult(VisualizerContext context, java.lang.Object start)
VisFactoryprocessNewResult in interface VisualizationProcessorprocessNewResult in interface VisFactorycontext - Visualization contextstart - Result to processprivate double addBarChart(SVGPlot svgp, org.w3c.dom.Element parent, double ypos, java.lang.String label, double value, double minValue, double maxValue, double baseValue, boolean reversed)
private double addHeader(SVGPlot svgp, org.w3c.dom.Element parent, double ypos, java.lang.String text)
public Visualization makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactorymakeVisualization in interface VisFactorycontext - Visualization contexttask - Visualization taskplot - Plotwidth - Widthheight - Heightproj - Projectionpublic boolean allowThumbnails(VisualizationTask task)
VisFactoryallowThumbnails in interface VisFactorytask - Task requestedCopyright © 2019 ELKI Development Team. License information.