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

  1. dtmc
  2. const double p;
  3. module test
  4. // local state
  5. s : [0..4] init 0;
  6. [] s=0 -> p : (s'=1) + (1-p) : (s'=2);
  7. [] s=1 -> p : (s'=3) + (1-p) : (s'=4);
  8. [] s=2 -> p : (s'=4) + (1-p) : (s'=3);
  9. [] s=3 -> 1 : (s'=3);
  10. [] s=4 -> 1 : (s'=4);
  11. endmodule