类 TreeBuild

java.lang.Object
weka.gui.treevisualizer.TreeBuild

public class TreeBuild extends Object
This class will parse a dotty file and construct a tree structure from it with Edge's and Node's
版本:
$Revision: 9097 $
作者:
Malcolm Ware (mfw4@cs.waikato.ac.nz)
  • 构造器详细资料

    • TreeBuild

      public TreeBuild()
      Upon construction this will only setup the color table for quick reference of a color.
  • 方法详细资料

    • create

      public Node create(Reader t)
      This will build A node structure from the dotty format passed. Don't send a dotty format with multiple parents per node, and ensure that there is 1 and only 1 node with no parent.
      参数:
      t - The reader with the dotty string to be read.
      返回:
      The top node of the tree structure (the last node with no parent).