
D - Distance typepublic class DistanceFunctionVisualization.Instance<D extends NumberDistance<D,?>> extends AbstractScatterplotVisualization implements DataStoreListener
| Modifier and Type | Field and Description |
|---|---|
static String |
DISTANCEFUNCTION |
static String |
KNNDIST |
static String |
KNNMARKER
Generic tags to indicate the type of element.
|
private AbstractMaterializeKNNPreprocessor<? extends NumberVector<?>,D,?> |
result
The selection result we work on
|
proj, rel, samplecontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
DistanceFunctionVisualization.Instance(VisualizationTask task)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
protected void |
redraw()
Perform a full redraw.
|
void |
resultChanged(Result current)
Notify that the current result has changed substantially.
|
setupCanvascontentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentChangedpublic static final String KNNMARKER
public static final String KNNDIST
public static final String DISTANCEFUNCTION
private AbstractMaterializeKNNPreprocessor<? extends NumberVector<?>,D extends NumberDistance<D,?>,?> result
public DistanceFunctionVisualization.Instance(VisualizationTask task)
task - VisualizationTaskprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void addCSSClasses(SVGPlot svgp)
svgp - SVG-Plotpublic void resultChanged(Result current)
ResultListenerresultChanged in interface ResultListenerresultChanged in class AbstractScatterplotVisualizationcurrent - Result that has changed.