public class ClusterEvaluationVisualization 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.
|
thumbmask
Constructor and Description |
---|
ClusterEvaluationVisualization()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private double |
addBarChart(SVGPlot svgp,
Element parent,
double ypos,
String label,
double maxValue,
double value) |
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)
Produce a visualization instance for the given task
|
void |
processNewResult(HierarchicalResult baseResult,
Result newResult)
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 ClusterEvaluationVisualization()
public void processNewResult(HierarchicalResult baseResult, Result newResult)
VisFactory
baseResult
- Context to work withnewResult
- Result to processprivate double addBarChart(SVGPlot svgp, Element parent, double ypos, String label, double maxValue, double value)
public Visualization makeVisualization(VisualizationTask task)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization taskpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requested