mdp module main x : [0..5] init 0; [a] x=0 -> (x'=1); [b] x=0 -> (x'=2); [] x=1 | x=2 -> 3/10 : (x'=1) + 7/10 : (x'=2); [] x=1 -> (x'=3); [] x=1 -> (x'=1); [] x=3 -> (x'=2); [c] x=2 -> 1/5 : (x'=4) + 4/5 : (x'=2); [c] x=3 -> 1/10 : (x'=5) + 9/10 : (x'=0); [] x=4 -> (x'=0); [] x=5 -> (x'=0); endmodule rewards "a" [a] true : 1; [c] true : 3; endrewards rewards "b" [b] true : 2; [c] true : 6; endrewards rewards "c" [c] true : 2/5; endrewards