
NV - Type of the DatabaseObject being visualized.public class ClusterMeanVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterMeanVisualization.Factory<NV extends NumberVector<NV,?>>
Factory for visualizers to generate an SVG-Element containing a marker for
the mean in a KMeans-Clustering
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Clustering<MeanModel<NV>> |
clustering
Clustering to visualize.
|
private static String |
CSS_MEAN
CSS class name for center of the means
|
private static String |
CSS_MEAN_CENTER
CSS class name for center of the means
|
private static String |
NAME
A short name characterizing this Visualizer.
|
proj, relcontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
ClusterMeanVisualization(VisualizationTask task) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
protected void |
redraw()
Perform a full redraw.
|
setupCanvascontextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedrawprivate static final String NAME
private static final String CSS_MEAN_CENTER
private static final String CSS_MEAN
Clustering<MeanModel<NV extends NumberVector<NV,?>>> clustering
public ClusterMeanVisualization(VisualizationTask task)
protected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void addCSSClasses(SVGPlot svgp)
svgp - SVG-Plot