projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Atom implements Topology
[sbp.git]
/
src
/
edu
/
berkeley
/
sbp
/
Union.java
diff --git
a/src/edu/berkeley/sbp/Union.java
b/src/edu/berkeley/sbp/Union.java
index
7370a68
..
1d4841f
100644
(file)
--- a/
src/edu/berkeley/sbp/Union.java
+++ b/
src/edu/berkeley/sbp/Union.java
@@
-36,6
+36,9
@@
public class Union extends Element implements Iterable<Sequence> {
this.synthetic = synthetic;
}
+ public static Union epsilon = new Union("()");
+ static { epsilon.add(Sequence.empty); }
+
private Forest.Ref epsilonForm = null;
Forest epsilonForm() {
if (epsilonForm != null) return epsilonForm;