Closed GoogleCodeExporter closed 9 years ago
I think it's better to use composition instead of inheritance here. NFAImpl can
own a
DFA.Builder, and then delegates the AddTransition() messages to that
DFA.Builder (So
constraints can be reserved). Meanwhile, NFAImpl maintains a collection of
epsilon
transitions. And finally, NFAImpl uses another DFA.Builder to generate the
final DFA.
Original comment by lemontree.cool
on 6 Sep 2008 at 2:48
Original comment by lemontree.cool
on 11 Sep 2008 at 3:14
Original issue reported on code.google.com by
lemontree.cool
on 6 Sep 2008 at 2:43