You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
310 B
18 lines
310 B
// Simple MDP from Lec 13 of Probabilistic Model Checking
|
|
|
|
mdp
|
|
|
|
module M
|
|
|
|
s:[0..3];
|
|
|
|
[] s=0 -> 1:(s'=1);
|
|
[] s=0 -> 0.25:(s'=0) + 0.5:(s'=2) + 0.25:(s'=3);
|
|
[] s=1 -> 0.1:(s'=0) + 0.5:(s'=1) + 0.4:(s'=2);
|
|
[] s=2 -> 1:(s'=2);
|
|
[] s=3 -> 1:(s'=2);
|
|
[] s=3 -> 1:(s'=3);
|
|
|
|
endmodule
|
|
|
|
label "a" = s=2;
|