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.

28 lines
728 B

2 months ago
  1. smg
  2. player walker
  3. [a0], [a00], [a1], [a2], [a3]
  4. endplayer
  5. player blocker
  6. [a40], [a41]
  7. endplayer
  8. label "s0" = c=0 & b=0 & a=0;
  9. label "s1" = c=0 & b=0 & a=1;
  10. label "s2" = c=0 & b=1 & a=0;
  11. label "s3" = c=0 & b=1 & a=1;
  12. label "s4" = c=1 & b=0 & a=0;
  13. module transitions
  14. a : [0..1] init 0;
  15. b : [0..1] init 0;
  16. c : [0..1] init 0;
  17. [a0] a=0 & b=0 & c=0 -> 4/10 : (a'=1) + 6/10 : (b'=1);
  18. [a00] a=0 & b=0 & c=0 -> true;
  19. [a1] a=1 & b=0 & c=0 -> 3/10 : (a'=0) + 3/10 : (a'=0) & (b'=1) + 4/10 : (b'=1);
  20. [a2] a=0 & b=1 & c=0 -> 2/10 : (a'=1) + 8/10 : (b'=0) & (c'=1);
  21. [a3] a=1 & b=1 & c=0 -> true;
  22. [a40] a=0 & b=0 & c=1 -> 3/10 : (c'=0) + 7/10 : (a'=1) & (b'=1) & (c'=0);
  23. [a41] a=0 & b=0 & c=1 -> true;
  24. endmodule