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.
 
 
 
 
 
 

22 lines
416 B

// Simple MDP from Lec 15 of Probabilistic Model Checking
mdp
module M
s:[0..8];
[] s=0 -> 1:(s'=2);
[] s=0 -> 0.6:(s'=0) + 0.3:(s'=1) + 0.1:(s'=2);
[] s=1 -> 0.3:(s'=3) + 0.7:(s'=4);
[] s=3 -> 1:(s'=4);
[] s=4 -> 1:(s'=1);
[] s=4 -> 1:(s'=3);
[] s=4 -> 1:(s'=6);
[] s=6 -> 1:(s'=6);
[] s=2 -> 1:(s'=5);
[] s=5 -> 0.9:(s'=7) + 0.1:(s'=8);
[] s=7 -> 1:(s'=5);
[] s=8 -> 1:(s'=5);
endmodule