@Reference(authors="E. Achtert, H.-P. Kriegel, L. Reichert, E. Schubert, R. Wojdanowski, A. Zimek", title="Visual Evaluation of Outlier Detection Models", booktitle="Proceedings of the 15th International Conference on Database Systems for Advanced Applications (DASFAA), Tsukuba, Japan, 2010", url="http://dx.doi.org/10.1007/978-3-642-12098-5_34") public class BubbleVisualization extends AbstractScatterplotVisualization implements DataStoreListener
Modifier and Type | Class and Description |
---|---|
static class |
BubbleVisualization.Factory
Factory for producing bubble visualizations
|
Modifier and Type | Field and Description |
---|---|
static String |
BUBBLE
Generic tag to indicate the type of element.
|
protected boolean |
fill
Fill parameter.
|
static String |
NAME
A short name characterizing this Visualizer.
|
protected OutlierResult |
result
The outlier result to visualize
|
protected ScalingFunction |
scaling
Scaling function to use for Bubbles
|
proj, rel, sample
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
BubbleVisualization(VisualizationTask task,
ScalingFunction scaling,
boolean fill)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the visualization.
|
protected double |
getScaledForId(DBIDRef id)
Convenience method to apply scalings in the right order.
|
void |
redraw()
Perform a full redraw.
|
void |
resultChanged(Result current)
Notify that the current result has changed substantially.
|
private void |
setupCSS(SVGPlot svgp,
ClassStylingPolicy policy)
Registers the Bubble-CSS-Class at a SVGPlot.
|
setupCanvas
contentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
public static final String BUBBLE
public static final String NAME
protected boolean fill
protected ScalingFunction scaling
protected OutlierResult result
public BubbleVisualization(VisualizationTask task, ScalingFunction scaling, boolean fill)
task
- Visualization taskscaling
- Scaling functionfill
- Fill flagpublic void destroy()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization
public void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
public void resultChanged(Result current)
ResultListener
resultChanged
in interface ResultListener
resultChanged
in class AbstractScatterplotVisualization
current
- Result that has changed.private void setupCSS(SVGPlot svgp, ClassStylingPolicy policy)
svgp
- the SVGPlot to register the Tooltip-CSS-Class.policy
- Clustering to useprotected double getScaledForId(DBIDRef id)
id
- object ID to get scaled score for