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.
 
 
 
 

42 lines
595 B

ma
module main
s : [0..5]; // current state:
<> s=0 -> 4 : (s'=1) + 4 : (s'=2);
[alpha] s=1 -> 1 : (s'=0);
[beta] s=1 -> 0.3 : (s'=5) + 0.7 : (s'=1);
<> s=5 -> 1 : (s'=2);
[gamma] s=2 -> 1 : (s'=1);
[delta] s=2 -> 0.5 : (s'=2) + 0.5 : (s'=3);
<> s=3 -> 1 : (s'=4);
[lambda] s=4 -> 1 : (s'=3);
endmodule
rewards "rew0"
[delta] s=2 : 1;
endrewards
rewards "rew1"
s=0 : 7;
[delta] s=2 : 1;
endrewards
rewards "rew2"
s=0 : 7;
[delta] s=2 : 1;
[lambda] s=4 : 100;
endrewards
rewards "rew3"
s=0 : 7;
[delta] s=2 : 1;
[gamma] s=2 : 100;
[lambda] s=4 : 27;
endrewards