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.
 
 
 
 

25 lines
301 B

mdp
module simple
// local state
s : [0..2] init 0;
[A] s=0 -> 0.2 : (s'=1) + 0.8 : (s'=0);
[B] s=0 -> 1 : (s'=2);
[C] s=0 -> 1 : (s'=0);
[] s>0 -> 1 : (s'=s);
endmodule
rewards "actA"
[A] true : 1;
endrewards
rewards "actB"
[B] true : 2;
endrewards
label "a" = s=1;
label "b" = s=2;