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
361 B

pomdp
observable "end" = s=5;
observable "trap" = s=4;
module main
s : [0..5] init 0;
[a] s = 0 -> 0.25: (s'=1) + 0.25: (s'=2) + 0.5:(s'=3);
[b] s=0 -> 0.5: (s'=1) + 0.5: (s'=2);
[a] s=1 -> (s'=2);
[a] s=2 -> (s'=1);
[b] s=1 -> (s'=4);
[b] s=2 -> (s'=5);
[a] s=3 -> (s'=5);
[b] s=3 -> (s'=5);
endmodule
label "goal" = s=5;