de.lmu.ifi.dbs.elki.visualization.projector
Class OPTICSProjector<D extends Distance<D>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
      extended by de.lmu.ifi.dbs.elki.visualization.projector.OPTICSProjector<D>
All Implemented Interfaces:
HierarchicalResult, Result, Projector

public class OPTICSProjector<D extends Distance<D>>
extends AbstractHierarchicalResult
implements Projector

Projection for OPTICS plots.


Field Summary
private  ClusterOrderResult<D> clusterOrder
          Cluster order result
private  OPTICSPlot<D> plot
          OPTICS plot image
 
Constructor Summary
OPTICSProjector(ClusterOrderResult<D> co)
          Constructor.
 
Method Summary
 Collection<PlotItem> arrange()
          Produce an arrangement of projections.
 String getLongName()
          A "pretty" name for the result, for use in titles, captions and menus.
 OPTICSPlot<D> getOPTICSPlot(VisualizerContext context)
          Get or produce the actual OPTICS plot.
 ClusterOrderResult<D> getResult()
          Get the cluster order
 String getShortName()
          A short name for the result, useful for file names.
 
Methods inherited from class de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
addChildResult, getHierarchy, setHierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.result.HierarchicalResult
getHierarchy, setHierarchy
 

Field Detail

clusterOrder

private ClusterOrderResult<D extends Distance<D>> clusterOrder
Cluster order result


plot

private OPTICSPlot<D extends Distance<D>> plot
OPTICS plot image

Constructor Detail

OPTICSProjector

public OPTICSProjector(ClusterOrderResult<D> co)
Constructor.

Parameters:
co - Cluster order
Method Detail

getLongName

public String getLongName()
Description copied from interface: Result
A "pretty" name for the result, for use in titles, captions and menus.

Specified by:
getLongName in interface Result
Returns:
result name

getShortName

public String getShortName()
Description copied from interface: Result
A short name for the result, useful for file names.

Specified by:
getShortName in interface Result
Returns:
result name

arrange

public Collection<PlotItem> arrange()
Description copied from interface: Projector
Produce an arrangement of projections.

Specified by:
arrange in interface Projector
Returns:
Arrangement.

getResult

public ClusterOrderResult<D> getResult()
Get the cluster order

Returns:
the cluster order

getOPTICSPlot

public OPTICSPlot<D> getOPTICSPlot(VisualizerContext context)
Get or produce the actual OPTICS plot.

Parameters:
context - Context to use
Returns:
Plot

Release 0.4.0 (2011-09-20_1324)