weka.core
Interface Drawable

All Known Implementing Classes:
ADTree, ClassifierTree, Cobweb, CostSensitiveClassifier, J48, M5P, REPTree, UserClassifier

public interface Drawable

Interface to something that can be drawn as a graph.


Method Summary
 java.lang.String graph()
          Returns a string that describes a graph representing the object.
 

Method Detail

graph

public java.lang.String graph()
                       throws java.lang.Exception
Returns a string that describes a graph representing the object. The string should be in dotty format.

Returns:
the graph described by a string
Throws:
java.lang.Exception - if the graph can't be computed