Package elki.visualization.projector
Class OPTICSProjector
- java.lang.Object
-
- elki.visualization.projector.OPTICSProjector
-
- All Implemented Interfaces:
Projector,VisualizationItem
public class OPTICSProjector extends java.lang.Object implements Projector
Projection for OPTICS plots.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private ClusterOrderclusterOrderCluster order resultprivate OPTICSPlotplotOPTICS plot image
-
Constructor Summary
Constructors Constructor Description OPTICSProjector(ClusterOrder co)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<PlotItem>arrange(VisualizerContext context)Produce an arrangement of projections.java.lang.StringgetMenuName()Name to display in the menu.OPTICSPlotgetOPTICSPlot(VisualizerContext context)Get or produce the actual OPTICS plot.ClusterOrdergetResult()Get the cluster order
-
-
-
Field Detail
-
clusterOrder
private ClusterOrder clusterOrder
Cluster order result
-
plot
private OPTICSPlot plot
OPTICS plot image
-
-
Constructor Detail
-
OPTICSProjector
public OPTICSProjector(ClusterOrder co)
Constructor.- Parameters:
co- Cluster order
-
-
Method Detail
-
getMenuName
public java.lang.String getMenuName()
Description copied from interface:VisualizationItemName to display in the menu. May benullor empty string.- Specified by:
getMenuNamein interfaceVisualizationItem- Returns:
- Menu name.
-
arrange
public java.util.Collection<PlotItem> arrange(VisualizerContext context)
Description copied from interface:ProjectorProduce an arrangement of projections.
-
getResult
public ClusterOrder getResult()
Get the cluster order- Returns:
- the cluster order
-
getOPTICSPlot
public OPTICSPlot getOPTICSPlot(VisualizerContext context)
Get or produce the actual OPTICS plot.- Parameters:
context- Context to use- Returns:
- Plot
-
-