Do transitions need a label or source? #74
Unanswered
mtf90
asked this question in
AutomataLib Q & A
Replies: 1 comment 2 replies
-
As you say, RA transitions do not need a reference to the source location/label. However, I can see situations when it is convenient to have this information (e.g., if you are doing a backwards BFS from some location to initial location). Having this information is also in line with the formal definition of an RA transition. Ultimately, however, for RAs to be incorporated into AutomataLib, AutomataLib principles should be used, which include minimal redundancy. Hence, I would be in favor or removing label/input. However, I would like others to comment (e.g., @FredrikTaquist ). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Do
Transition
s actually need a reference to their label and source location? Given that transitions are typically accessed when a source location and input symbol is available (its a transition system after all) this seems like unnecessary clutter in the type definition. The only related usages that I have found for these fields were in, e.g.,RegisterAutomaton#getInputTransitions
andRegisterAutomaton#getInputStates
which themselves are only used in utilitySystem.out
s.Beta Was this translation helpful? Give feedback.
All reactions