The source code and dockerfile for the GSW2024 AI Lab.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

18 lines
277 B

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