Class TreeSphereVisualization

  • All Implemented Interfaces:
    VisualizationProcessor, VisFactory

    public class TreeSphereVisualization
    extends java.lang.Object
    implements VisFactory
    Visualize the bounding sphere of a metric index.
    Since:
    0.5.0
    Author:
    Erich Schubert
    • Constructor Detail

      • TreeSphereVisualization

        public TreeSphereVisualization​(TreeSphereVisualization.Par settings)
        Constructor.
        Parameters:
        settings - Settings
    • Method Detail

      • getLPNormP

        public static double getLPNormP​(AbstractMTree<?,​?,​?,​?> tree)
        Get the "p" value of an Lp norm.
        Parameters:
        tree - Tree to visualize
        Returns:
        p value
      • canVisualize

        public static boolean canVisualize​(Relation<?> rel,
                                           AbstractMTree<?,​?,​?,​?> tree)
        Test for a visualizable index in the context's database.
        Parameters:
        rel - Vector relation
        tree - Tree to visualize
        Returns:
        whether the tree is visualizable