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

8 years ago
  1. dtmc
  2. module test
  3. s : [0 .. 3] init 0;
  4. [] s=0 -> 0.5 : (s'=1) + 0.5 : (s'=2);
  5. [] s=1 -> 1 : true;
  6. [] s=2 -> 1 : (s'=3);
  7. [] s=3 -> 1 : true;
  8. endmodule
  9. rewards
  10. s=2 : 1;
  11. endrewards
  12. label "condition" = s=2;
  13. label "target" = s=3;