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, sample
context, 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.
|
setupCanvas
contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
public 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()
AbstractVisualization
redraw
in class AbstractVisualization
private void addCSSClasses(SVGPlot svgp)
svgp
- SVG-Plotpublic void resultChanged(Result current)
ResultListener
resultChanged
in interface ResultListener
resultChanged
in class AbstractScatterplotVisualization
current
- Result that has changed.