public class DistanceFunctionVisualization.Instance extends AbstractScatterplotVisualization implements DataStoreListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DISTANCEFUNCTION |
static java.lang.String |
KNNDIST |
static java.lang.String |
KNNMARKER
Generic tags to indicate the type of element.
|
private AbstractMaterializeKNNPreprocessor<? extends NumberVector> |
result
The selection result we work on
|
proj, rel, sample
context, layer, svgp, task
Constructor and Description |
---|
Instance(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor
|
Modifier and Type | Method and Description |
---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
setupCanvas, setupCanvas, visualizationChanged
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
public static final java.lang.String KNNMARKER
public static final java.lang.String KNNDIST
public static final java.lang.String DISTANCEFUNCTION
private AbstractMaterializeKNNPreprocessor<? extends NumberVector> result
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
context
- Visualizer contexttask
- VisualizationTaskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projectionpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractVisualization
private void addCSSClasses(SVGPlot svgp)
svgp
- SVG-PlotCopyright © 2019 ELKI Development Team. License information.