X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2FElement.java;h=5f55be697e74ed325aa9cc2d4c83b3f2aefc7ecc;hp=b199a23ca52f943964a5afb2a9002e94f42a54d4;hb=2690f6c749f117a103c57d651d89f1b4fbf1316d;hpb=6caa23ec64fa689a91c0b81238d04ff7322a945c diff --git a/src/edu/berkeley/sbp/Element.java b/src/edu/berkeley/sbp/Element.java index b199a23..5f55be6 100644 --- a/src/edu/berkeley/sbp/Element.java +++ b/src/edu/berkeley/sbp/Element.java @@ -13,6 +13,7 @@ public abstract class Element { /** add all positions reachable from the start of this Element to @rp */ abstract void reachable(HashSet rp); + abstract Topology toAtom(); Forest epsilonForm() { throw new Error("no epsilon form: " + this); } final boolean possiblyEpsilon(Walk.Cache cache) { Boolean ret = cache==null ? null : cache.possiblyEpsilon.get(this);