|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization
de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization<NV>
de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.BubbleVisualization<NV>
NV - Type of the DatabaseObject being visualized.@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%2F978-3-642-12098-5_34")
public class BubbleVisualization<NV extends NumberVector<NV,?>>
Generates a SVG-Element containing bubbles. A Bubble is a circle visualizing an outlierness-score, with its center at the position of the visualized object and its radius depending on the objects score.
| Nested Class Summary | |
|---|---|
static class |
BubbleVisualization.Factory<NV extends NumberVector<NV,?>>
Factory for producing bubble visualizations |
| Field Summary | |
|---|---|
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 |
| Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization |
|---|
proj, rel |
| Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization |
|---|
context, layer, pendingRedraw, svgp, task |
| Constructor Summary | |
|---|---|
BubbleVisualization(VisualizationTask task,
ScalingFunction scaling)
Constructor. |
|
| Method Summary | |
|---|---|
void |
contentChanged(DataStoreEvent e)
Invoked after objects of the datastore have been updated, inserted or removed in some way. |
void |
destroy()
Destroy the visualization. |
protected Double |
getScaledForId(DBID id)
Convenience method to apply scalings in the right order. |
void |
redraw()
Perform a full redraw. |
private void |
setupCSS(SVGPlot svgp,
Clustering<? extends Model> clustering)
Registers the Bubble-CSS-Class at a SVGPlot. |
| Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization |
|---|
setupCanvas |
| Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization |
|---|
contextChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BUBBLE
public static final String NAME
protected boolean fill
protected ScalingFunction scaling
protected OutlierResult result
| Constructor Detail |
|---|
public BubbleVisualization(VisualizationTask task,
ScalingFunction scaling)
task - Visualization taskscaling - Scaling function| Method Detail |
|---|
public void destroy()
Visualization
destroy in interface Visualizationdestroy in class AbstractVisualizationpublic void redraw()
AbstractVisualization
redraw in class AbstractVisualizationpublic void contentChanged(DataStoreEvent e)
DataStoreListener
contentChanged in interface DataStoreListenere - the update event
private void setupCSS(SVGPlot svgp,
Clustering<? extends Model> clustering)
svgp - the SVGPlot to register the Tooltip-CSS-Class.clustering - Clustering to useprotected Double getScaledForId(DBID id)
id - object ID to get scaled score for
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||