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.
27 lines
452 B
27 lines
452 B
// Fixed in trunk svn rev 9356:
|
|
// DRA-product and accepting BSCC calculcations on embedded DTMC
|
|
|
|
// Fixed in trunk svn rev 11168:
|
|
// Nested formulas have to be computed in the original CTMC
|
|
|
|
ctmc
|
|
|
|
module M
|
|
|
|
x : [0..3];
|
|
|
|
[arrive] x<3 -> 1.5 : (x'=x+1);
|
|
[serve] x>0 -> 3 : (x'=x-1);
|
|
|
|
endmodule
|
|
|
|
label "empty" = x=0;
|
|
label "full" = x=3;
|
|
|
|
rewards "serve"
|
|
[serve] true : 1;
|
|
endrewards
|
|
|
|
rewards "queue"
|
|
true : x;
|
|
endrewards
|