rzel / mini-java

Automatically exported from code.google.com/p/mini-java
0 stars 0 forks source link

add InitialState subtype of State #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Similar as AcceptableState, InitialState will serve as a indicator of an
initial state. Each finite automaton must has one and only one initial
state. Consider adding a corresponding to the constructor of finite
automaton. Also a getter to retrieve the initial state.

Original issue reported on code.google.com by lemontree.cool on 23 Aug 2008 at 3:00

GoogleCodeExporter commented 9 years ago
Since interface cannot have constructor. Don't know how to enforce the presence 
of
the initial state.

Original comment by lemontree.cool on 23 Aug 2008 at 4:23