Class GraphHelper


  • public class GraphHelper
    extends Object
    Helper class for graphs.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Drawable
    • Constructor Detail

      • GraphHelper

        public GraphHelper()
    • Method Detail

      • hasGraph

        public static boolean hasGraph​(weka.core.Drawable d)
        Checks whether an actual graph is available.
        Parameters:
        item - the item to check
        Returns:
        true if graph available
      • isDottyTree

        public static boolean isDottyTree​(weka.core.Drawable d)
        Simple check whether the drawble generates a dotty tree.
        Parameters:
        s - the drawble to check
        Returns:
        true if dotty tree
      • isDottyTree

        public static boolean isDottyTree​(String s)
        Simple check whether the string represents a dotty tree.
        Parameters:
        s - the string to check
        Returns:
        true if dotty tree