When flattening and merging with a single-mode automaton, it shouldn't be necessary to add its name to the resultant mode. This will result in shorter names:
The general logic for chosing a name (in mergeLocations() of FlattenAutomatonPass.java) should be:
When flattening and merging with a single-mode automaton, it shouldn't be necessary to add its name to the resultant mode. This will result in shorter names:
The general logic for chosing a name (in
mergeLocations()
ofFlattenAutomatonPass.java
) should be:The transitions and initial / forbidden states should also be adjusted, and likely unit tests will need to be updated to expect this.