Class OPTICSClusterVisualization.Instance

    • Constructor Detail

      • Instance

        public Instance​(VisualizerContext context,
                        VisualizationTask task,
                        VisualizationPlot plot,
                        double width,
                        double height,
                        Projection proj)
        context - Visualizer context
        task - Visualization task
        plot - Plot to draw to
        width - Embedding width
        height - Embedding height
        proj - Projection
    • Method Detail

      • drawClusters

        private void drawClusters​(Clustering<OPTICSModel> clustering,
                                  It<Cluster<OPTICSModel>> clusters,
                                  int depth,
                                  java.util.Map<Cluster<?>,​java.lang.String> colormap)
        Recursively draw clusters
        clusters - Current set of clusters
        depth - Recursion depth
        colormap - Color mapping
      • addCSSClasses

        private void addCSSClasses()
        Adds the required CSS-Classes