Class UncertainSamplesVisualization.Instance

    • Constructor Detail

      • Instance

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

      • drawDiscete

        private void drawDiscete​(DiscreteUncertainObject uo,
                                 MarkerLibrary ml,
                                 int cnum,
                                 double size)
        Visualize a discrete uncertain object
        Parameters:
        uo - Uncertain object
        ml - Marker library
        cnum - Cluster number
        size - Size
      • drawContinuous

        private void drawContinuous​(UncertainObject uo,
                                    MarkerLibrary ml,
                                    int cnum,
                                    double size,
                                    java.util.Random rand)
        Visualize random samples
        Parameters:
        uo - Uncertain object
        ml - Marker library
        cnum - Cluster number
        size - Marker size
        rand - Random generator
      • drawDiscreteDefault

        private void drawDiscreteDefault​(DiscreteUncertainObject uo,
                                         int col,
                                         double size)
        Visualize discrete object
        Parameters:
        uo - Uncertain object
        col - Color
        size - Size
      • drawContinuousDefault

        private void drawContinuousDefault​(UncertainObject uo,
                                           int col,
                                           double size,
                                           java.util.Random rand)
        Visualize random samples
        Parameters:
        uo - Uncertain object
        col - Color
        size - Size
        rand - Random generator