Problem defining more than one action with the same transition path
See original GitHub issueI am trying to define two distinct actions that have the same transition path. Example:
State_A 'action_a' -> State_B;
State_A 'action_b' -> State_B;
I get an error like this:
JssmError: already has "State_A" to "State_B"
But it makes sense to have to different actions (as they may have two distinct state transition meaning) that define transition conditions.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Detect Modeling Errors During Edit Time - MATLAB & Simulink
Solution: Create no more than one unconditional transition from each state or junction. Explicitly specify that the unconditional transition executes after any ...
Read more >Transition Path Theory | SpringerLink
The dynamical behavior of many systems arising in physics, chemistry, biology, etc. is dominated by rare but important transition events between long lived ......
Read more >How can I take actions and states when my transition between ...
I have a model whose states depend on multiple actions; I can take a single parameter as action, but what if the state...
Read more >AI: Solving problems by searching
Together, the initial state, actions and transition model implicitly defined the state space of the problem – the set of all states reachable...
Read more >State Machine Diagram - UML 2 Tutorial - Sparx Systems
It is also possible to define actions that occur on events, or actions that always occur. It is possible to define any number...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
closing here because you’re chatting there
I agree that this is a desirable thing
The reason I’m dragging my heels is that a huge portion of the codebase is written with the assumption that you can ask the machine for the edge between
a
andb
, and get an unambiguous answerTo do this would break that, which is a massive breaking change and also would mean a whole bunch of stuff would need to move to being container based, which would probably slow things down by an order of ten
I have kicked around the idea of saying “it’ll return the main path and only main path has this restriction” but that still breaks older machines written without main paths
I’m still thinking over what I think is the right thing to do here
Would you be okay with my closing this, and talking on StoneCypher/fsl#325 instead, please? There are ~30 repos and it’s hard to keep track of things if they’re not all in the same place