checkpoint
[sbp.git] / src / edu / berkeley / sbp / Forest.java
index 645850b..cdf8a8b 100644 (file)
@@ -7,8 +7,10 @@ import java.util.*;
 import java.lang.reflect.*;
 
 /**
+ *   <font color=blue>
  *   An efficient representation of a collection of trees (Tomita's
  *   shared packed parse forest).
+ *   </font>
  */
 public abstract class Forest<T> implements GraphViz.ToGraphViz {
 
@@ -27,10 +29,9 @@ public abstract class Forest<T> implements GraphViz.ToGraphViz {
 
     abstract void expand(HashSet<Tree<T>> ht, HashSet<Forest<T>> ignore, Tree<T> bogus);
     abstract void gather(HashSet<Forest<T>> ignore);
+    abstract void edges(GraphViz.Node n);
     boolean ambiguous() { return false; }
 
-    public abstract void edges(GraphViz.Node n);
-
 
     // One //////////////////////////////////////////////////////////////////////////////