Class AbstractSilhouetteVisualization
- java.lang.Object
-
- elki.visualization.visualizers.AbstractVisualization
-
- elki.visualization.visualizers.silhouette.AbstractSilhouetteVisualization
-
- All Implemented Interfaces:
DataStoreListener
,ResultListener
,VisualizationListener
,Visualization
,java.util.EventListener
- Direct Known Subclasses:
SilhouettePlotSelectionToolVisualization.Instance
,SilhouettePlotSelectionVisualization.Instance
,SilhouettePlotVisualizer.Instance
public abstract class AbstractSilhouetteVisualization extends AbstractVisualization
Abstract base class for silhouette visualizer- Since:
- 0.8.0
- Author:
- Robert Gehde
-
-
Field Summary
Fields Modifier and Type Field Description protected double
plotheight
Height of plot (in display units)protected double
plotwidth
Width of plot (in display units)protected SilhouetteProjection
silhouette
The plot-
Fields inherited from class elki.visualization.visualizers.AbstractVisualization
context, layer, svgp, task
-
-
Constructor Summary
Constructors Constructor Description AbstractSilhouetteVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
makeLayerElement()
Produce a new layer element.-
Methods inherited from class elki.visualization.visualizers.AbstractVisualization
addListeners, contentChanged, destroy, fullRedraw, getHeight, getLayer, getWidth, incrementalRedraw, resultChanged, visualizationChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.result.ResultListener
resultAdded, resultRemoved
-
-
-
-
Field Detail
-
silhouette
protected final SilhouetteProjection silhouette
The plot
-
plotwidth
protected double plotwidth
Width of plot (in display units)
-
plotheight
protected double plotheight
Height of plot (in display units)
-
-
Constructor Detail
-
AbstractSilhouetteVisualization
public AbstractSilhouetteVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Constructor.- Parameters:
context
- Visualizer contexttask
- Visualization task.plot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projection
-
-