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.4 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

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

Method Detail

prefix

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

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