Class GraphHelper
- java.lang.Object
-
- adams.gui.tools.wekainvestigator.output.GraphHelper
-
public class GraphHelper extends Object
Helper class for graphs.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
Drawable
-
-
Constructor Summary
Constructors Constructor Description GraphHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
hasGraph(weka.core.Drawable d)
Checks whether an actual graph is available.static boolean
isDottyTree(String s)
Simple check whether the string represents a dotty tree.static boolean
isDottyTree(weka.core.Drawable d)
Simple check whether the drawble generates a dotty tree.
-
-
-
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
-
-