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.
16 lines
327 B
16 lines
327 B
// test case, check if guards in reward expressions are evaluated exactly in exact / parametric mode
|
|
|
|
mdp
|
|
|
|
const double x; // dummy for parametric
|
|
|
|
module M1
|
|
s: [0..2] init 0;
|
|
|
|
[a] s=0 -> 1/2:(s'=1) + 1/2:(s'=2);
|
|
[] s>=1 -> true;
|
|
endmodule
|
|
|
|
rewards "r"
|
|
[a] s=(1/3 = 0.333333333333333333333333 ? 1 : 0) : 2;
|
|
endrewards
|