weka.core
Interface Matchable

All Known Implementing Classes:
J48

public interface Matchable

Interface to something that can be matched with tree matching algorithms.

Version:
$Revision: 1.5 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Method Summary
 java.lang.String prefix()
          Returns a string that describes a tree representing the object in prefix order.
 

Method Detail

prefix

public java.lang.String prefix()
                        throws java.lang.Exception
Returns a string that describes a tree representing the object in prefix order.

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