From 179c46570b27c60b4da89eef595e94f83e33acbe Mon Sep 17 00:00:00 2001 From: Jip Spel Date: Tue, 22 Oct 2019 11:14:25 +0200 Subject: [PATCH] Added missing file --- resources/examples/testfiles/pdtmc/simple4.pm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 resources/examples/testfiles/pdtmc/simple4.pm diff --git a/resources/examples/testfiles/pdtmc/simple4.pm b/resources/examples/testfiles/pdtmc/simple4.pm new file mode 100644 index 000000000..1bdc3e004 --- /dev/null +++ b/resources/examples/testfiles/pdtmc/simple4.pm @@ -0,0 +1,17 @@ +dtmc + +const double p; + +module test + + // local state + s : [0..4] init 0; + + [] s=0 -> p*(1-p) : (s'=1) + (1-p*(1-p)) : (s'=2); + [] s=1 -> p : (s'=3) + (1-p) : (s'=4); + [] s=2 -> (1-p) : (s'=3) + (p) : (s'=4); + [] s=3 -> 1 : (s'=3); + [] s=4 -> 1 : (s'=4); + +endmodule +