-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create states from AUT header #52
Conversation
serialization/aut/src/main/java/net/automatalib/serialization/aut/InternalAUTParser.java
Show resolved
Hide resolved
serialization/aut/src/main/java/net/automatalib/serialization/aut/InternalAUTParser.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice contribution! There are only a few minor things that I would appreciate if you could address them. After that, I'm happy to merge the PR.
Thank you! I've gone through and made the requested changes, and I also added some more informative exception messages for negative numbers and non-number state values. Let me know if there's anything else I can do! |
serialization/aut/src/main/java/net/automatalib/serialization/aut/InternalAUTParser.java
Outdated
Show resolved
Hide resolved
There appear to be some minor validation errors left (mainly formatting, etc.). You can run the checks yourself by activating the code-analysis profile ( |
👍 |
Closes #51
Parses the number of states from the AUT header and uses the specified number of states in creating the output automaton.
Added test to ensure that AUT files with sink states (no outgoing transitions) are correctly parsed.