stormvogel.examples.knuth_yao_pmc¶
Functions¶
Build the Knuth--Yao dice as a parametric DTMC. |
|
Build the Knuth--Yao dice as a parametric DTMC. |
Module Contents¶
- stormvogel.examples.knuth_yao_pmc.create_knuth_yao_pmc()¶
Build the Knuth–Yao dice as a parametric DTMC.
The parameter
xis the success probability of the underlying coin. Probabilities are expressed as ordinary sympy expressions, so1 - xis literally1 - x— no special constructors needed.
- stormvogel.examples.knuth_yao_pmc.create_knuth_yao_pmc_twocoins()¶
Build the Knuth–Yao dice as a parametric DTMC.