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 ClusterOrder
clusterOrder
Cluster order resultprivate OPTICSPlot
plot
OPTICS 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.String
getMenuName()
Name to display in the menu.OPTICSPlot
getOPTICSPlot(VisualizerContext context)
Get or produce the actual OPTICS plot.ClusterOrder
getResult()
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:VisualizationItem
Name to display in the menu. May benull
or empty string.- Specified by:
getMenuName
in interfaceVisualizationItem
- Returns:
- Menu name.
-
arrange
public java.util.Collection<PlotItem> arrange(VisualizerContext context)
Description copied from interface:Projector
Produce 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
-
-