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.

17 lines
174 B

2 months ago
  1. mdp
  2. module mod1
  3. s : [0..2] init 0;
  4. [] s=0 -> true;
  5. [] s=0 -> (s'=1);
  6. [] s=1 -> (s'=2);
  7. [] s=2 -> (s'=2);
  8. endmodule
  9. rewards
  10. [] s=1 : 1;
  11. endrewards
  12. label "target" = s=2;