public class TreeSphereVisualization extends java.lang.Object implements VisFactory
Modifier and Type | Class and Description |
---|---|
class |
TreeSphereVisualization.Instance<N extends AbstractMTreeNode<?,N,E>,E extends MTreeEntry>
Instance for a particular tree.
|
private static class |
TreeSphereVisualization.Mode
Drawing modes.
|
static class |
TreeSphereVisualization.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INDEX
Generic tag to indicate the type of element.
|
static java.lang.String |
NAME
A short name characterizing this Visualizer.
|
protected TreeSphereVisualization.Parameterizer |
settings
Settings
|
Constructor and Description |
---|
TreeSphereVisualization(TreeSphereVisualization.Parameterizer settings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canVisualize(Relation<?> rel,
AbstractMTree<?,?,?,?> tree)
Test for a visualizable index in the context's database.
|
static double |
getLPNormP(AbstractMTree<?,?,?,?> tree)
Get the "p" value of an Lp norm.
|
Visualization |
makeVisualization(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Produce a visualization instance for the given task
|
void |
processNewResult(VisualizerContext context,
java.lang.Object start)
Add visualizers for the given result (tree) to the context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowThumbnails, makeVisualizationOrThumbnail
public static final java.lang.String INDEX
public static final java.lang.String NAME
protected TreeSphereVisualization.Parameterizer settings
public TreeSphereVisualization(TreeSphereVisualization.Parameterizer settings)
settings
- Settingspublic void processNewResult(VisualizerContext context, java.lang.Object start)
VisFactory
processNewResult
in interface VisualizationProcessor
processNewResult
in interface VisFactory
context
- Visualization contextstart
- Result to processpublic Visualization makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactory
makeVisualization
in interface VisFactory
context
- Visualization contexttask
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projectionpublic static double getLPNormP(AbstractMTree<?,?,?,?> tree)
tree
- Tree to visualizepublic static boolean canVisualize(Relation<?> rel, AbstractMTree<?,?,?,?> tree)
rel
- Vector relationtree
- Tree to visualizeCopyright © 2019 ELKI Development Team. License information.