weka.core
Interface Drawable

All Known Implementing Classes:
ADTree, ClassifierTree, CostSensitiveClassifier, J48, UserClassifier

public interface Drawable

Interface to something that can be drawn as a graph.

Version:
$Revision: 1.4 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)

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

Method Detail

graph

public String graph()
             throws 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:
Exception - if the graph can't be computed