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.
20 lines
244 B
20 lines
244 B
|
|
mdp
|
|
|
|
module module1
|
|
|
|
s : [0..2] init 0;
|
|
|
|
[A] s=0 -> 1 : (s'=1);
|
|
[B] s=0 -> 1 : (s'=2);
|
|
[C] s=1 -> 1 : true;
|
|
[D] s=1 -> 1 : (s'=2);
|
|
[E] s=2 -> 1 : true;
|
|
endmodule
|
|
|
|
rewards "rew"
|
|
[A] true : 10;
|
|
[C] true : 3;
|
|
[E] true : 1;
|
|
endrewards
|
|
|