Beispiel #1
0
  /** Returns a superconcise version of the model */
  public String toSummaryString() {

    return "Number of leaves: "
        + m_root.numLeaves()
        + "\n"
        + "Size of the tree: "
        + m_root.numNodes()
        + "\n";
  }
Beispiel #2
0
 /**
  * Returns the size of the tree
  *
  * @return the size of the tree
  */
 public double measureTreeSize() {
   return m_root.numNodes();
 }