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.

16 lines
297 B

8 years ago
  1. mdp
  2. module one
  3. s : [0 .. 5] init 0;
  4. [] s=0 -> 0.5: (s'=1) + 0.5: (s'=3);
  5. [] s=1 -> 0.4 : (s'=4) + 0.6: (s'=3);
  6. [] s=1 -> 1: (s'=4);
  7. [] s=1 -> 0.8: (s'=3) + 0.2: (s'=4);
  8. [] s=0 | s = 2 -> 0.9: (s'=s) + 0.1 : (s'=3);
  9. [] 3 <= s & s <= 4 -> 1: true;
  10. endmodule
  11. label "target" = s=3;