Class EvaluationVisualization

  • All Implemented Interfaces:
    VisualizationProcessor, VisFactory

    public class EvaluationVisualization
    extends java.lang.Object
    implements VisFactory
    Pseudo-Visualizer, that lists the cluster evaluation results found. TODO: add indication/warning when values are out-of-bounds. TODO: Find a nicer solution than the current hack to only display the evaluation results for the currently active clustering.
    Since:
    0.4.0
    Author:
    Erich Schubert, Sascha Goldhofer
    • Field Detail

      • NAME

        private static final java.lang.String NAME
        Name for this visualizer.
        See Also:
        Constant Field Values
      • BARLENGTH

        private static final double BARLENGTH
        Constant: width of score bars
        See Also:
        Constant Field Values
      • BARHEIGHT

        private static final double BARHEIGHT
        Constant: height of score bars
        See Also:
        Constant Field Values
    • Constructor Detail

      • EvaluationVisualization

        public EvaluationVisualization()
        Constructor.
    • Method Detail

      • addBarChart

        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)
      • addHeader

        private double addHeader​(SVGPlot svgp,
                                 org.w3c.dom.Element parent,
                                 double ypos,
                                 java.lang.String text)
      • allowThumbnails

        public boolean allowThumbnails​(VisualizationTask task)
        Description copied from interface: VisFactory
        Test whether to do a thumbnail or a full rendering. Override this with "false" to disable thumbnails!
        Specified by:
        allowThumbnails in interface VisFactory
        Parameters:
        task - Task requested