Package elki.visualization.projections
Class OPTICSProjection
- java.lang.Object
-
- elki.visualization.projections.OPTICSProjection
-
- All Implemented Interfaces:
Projection
,VisualizationItem
public class OPTICSProjection extends java.lang.Object implements Projection
OPTICS projection. This is not really needed, but a quick hack to have more consistency in the visualizer API.- Since:
- 0.5.5
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) OPTICSProjector
projector
The projector we were generated from.-
Fields inherited from interface elki.visualization.projections.Projection
INVSCALE, SCALE
-
-
Constructor Summary
Constructors Constructor Description OPTICSProjection(OPTICSProjector opticsProjector)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInputDimensionality()
Get the input dimensionality of the projection.java.lang.String
getMenuName()
Name to display in the menu.OPTICSPlot
getOPTICSPlot(VisualizerContext context)
Get or produce the actual OPTICS plot.Projector
getProjector()
Projector used for generating this projection.ClusterOrder
getResult()
Get the OPTICS cluster order.LinearScale
getScale(int d)
Get the scale class for a particular dimension.
-
-
-
Field Detail
-
projector
OPTICSProjector projector
The projector we were generated from.
-
-
Constructor Detail
-
OPTICSProjection
public OPTICSProjection(OPTICSProjector opticsProjector)
Constructor.- Parameters:
opticsProjector
- OPTICS projector
-
-
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.
-
getInputDimensionality
public int getInputDimensionality()
Description copied from interface:Projection
Get the input dimensionality of the projection.- Specified by:
getInputDimensionality
in interfaceProjection
- Returns:
- Input dimensionality
-
getScale
public LinearScale getScale(int d)
Description copied from interface:Projection
Get the scale class for a particular dimension.- Specified by:
getScale
in interfaceProjection
- Parameters:
d
- Dimension- Returns:
- Scale class
-
getOPTICSPlot
public OPTICSPlot getOPTICSPlot(VisualizerContext context)
Get or produce the actual OPTICS plot.- Parameters:
context
- Context to use- Returns:
- Plot
-
getResult
public ClusterOrder getResult()
Get the OPTICS cluster order.- Returns:
- Cluster oder result.
-
getProjector
public Projector getProjector()
Description copied from interface:Projection
Projector used for generating this projection.- Specified by:
getProjector
in interfaceProjection
- Returns:
- Projector
-
-