Random symbolic simulation trick ? #229
Answered
by
thorulf4
MathieuMarchand
asked this question in
Q&A
-
I would like to run the symbolic simulator to see how it evolves, but since the random simulation takes one of the available transition with equal probability, the simulation doesn't do anything useful. Is there a way to change these probabilities without having to duplicate edges, to have for example an edge -->goNext with p=0.99 and an edge -->abort with p=0.01? |
Beta Was this translation helpful? Give feedback.
Answered by
thorulf4
Oct 31, 2023
Replies: 2 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MathieuMarchand
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no nice way of doing this for symbolic simulation, you could hack together some kind of probability by controlling the ratio of edges, but I would would discourage this approach.
If possible I would recommend switching to the concrete simulator, as it provides a way to give probabilistic weights to branching edges.
Do note that probabilities can only be set on the outgoing side of a branching edge
For this to to work you would have to switch from random simulation to stochastic by right clicking the random button in the concrete simulator.
I hope this helps, if any questions feel free to ask.