de.lmu.ifi.dbs.elki.visualization.visualizers.optics
Class OPTICSSteepAreaVisualization<D extends Distance<D>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization
      extended by de.lmu.ifi.dbs.elki.visualization.visualizers.optics.AbstractOPTICSVisualization<D>
          extended by de.lmu.ifi.dbs.elki.visualization.visualizers.optics.OPTICSSteepAreaVisualization<D>
All Implemented Interfaces:
ResultListener, ContextChangeListener, Visualization, EventListener

public class OPTICSSteepAreaVisualization<D extends Distance<D>>
extends AbstractOPTICSVisualization<D>

Visualize the steep areas found in an OPTICS plot


Nested Class Summary
static class OPTICSSteepAreaVisualization.Factory
          Factory class for OPTICS plot selections.
 
Field Summary
(package private)  OPTICSXi.SteepAreaResult areas
          Our clustering
protected static String CSS_STEEP_DOWN
          CSS class for markers
protected static String CSS_STEEP_UP
          CSS class for markers
private static String NAME
          A short name characterizing this Visualizer.
 
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.optics.AbstractOPTICSVisualization
optics, plotheight, plotwidth
 
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization
context, layer, pendingRedraw, svgp, task
 
Constructor Summary
OPTICSSteepAreaVisualization(VisualizationTask task)
          Constructor.
 
Method Summary
private  void addCSSClasses()
          Adds the required CSS-Classes
protected static OPTICSXi.SteepAreaResult findSteepAreaResult(ClusterOrderResult<?> co)
          Find the OPTICS clustering child of a cluster order.
protected  void redraw()
          Perform a full redraw.
 void resultChanged(Result current)
          Notify that the current result has changed substantially.
 
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.optics.AbstractOPTICSVisualization
getClusterOrder, makeLayerElement
 
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization
contextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw, testRedraw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final String NAME
A short name characterizing this Visualizer.

See Also:
Constant Field Values

CSS_STEEP_UP

protected static final String CSS_STEEP_UP
CSS class for markers

See Also:
Constant Field Values

CSS_STEEP_DOWN

protected static final String CSS_STEEP_DOWN
CSS class for markers

See Also:
Constant Field Values

areas

OPTICSXi.SteepAreaResult areas
Our clustering

Constructor Detail

OPTICSSteepAreaVisualization

public OPTICSSteepAreaVisualization(VisualizationTask task)
Constructor.

Parameters:
task - Visualization task
Method Detail

findSteepAreaResult

protected static OPTICSXi.SteepAreaResult findSteepAreaResult(ClusterOrderResult<?> co)
Find the OPTICS clustering child of a cluster order.

Parameters:
co - Cluster order
Returns:
OPTICS clustering

redraw

protected void redraw()
Description copied from class: AbstractVisualization
Perform a full redraw.

Specified by:
redraw in class AbstractVisualization

addCSSClasses

private void addCSSClasses()
Adds the required CSS-Classes


resultChanged

public void resultChanged(Result current)
Description copied from interface: ResultListener
Notify that the current result has changed substantially.

Specified by:
resultChanged in interface ResultListener
Overrides:
resultChanged in class AbstractVisualization
Parameters:
current - Result that has changed.

Release 0.4.0 (2011-09-20_1324)