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
332 B
18 lines
332 B
// Test of constants in parametric model checking
|
|
// (specifically, when a parameter is used indirectly,
|
|
// within the definition of another constant)
|
|
|
|
dtmc
|
|
|
|
const double p;
|
|
const double q = 1 - p;
|
|
|
|
module M
|
|
|
|
// local state
|
|
s : [0..7] init 0;
|
|
|
|
[] s=0 -> q : (s'=1) + 1-q : (s'=2);
|
|
[] s>0 -> true;
|
|
|
|
endmodule
|