diff --git a/prism-examples/cell/cell.csl b/prism-examples/cell/cell.csl index f7ea40a4..13b54bc9 100644 --- a/prism-examples/cell/cell.csl +++ b/prism-examples/cell/cell.csl @@ -1,16 +1,21 @@ -const double T; +const double T; // time bound -// what is the maximum probability that a hand off call can be dropped within t time units (assuming a guarded channel is free) +// the maximum probability that a hand off call can be dropped within t time units (assuming a guarded channel is free) P=?[ true U<=T (n=N) {n=N*0.8) {n=1) & (reqo | (reqi & m=1))); endmodule - -formula fail_sensors = i=2&s0) & (w4>0) -> out4 : (z4'=z4-1) & (w4'=w4-1); endmodule - -rewards - + +// reward structures + +// tokens in cell1 +rewards "tokens_cell1" + true : x1+y1+z1; +endrewards + +// tokens in cell2 +rewards "tokens_cell2" + true : x2+y2+z2; +endrewards + +// tokens in cell3 +rewards "tokens_cell3" + true : x3+y3+z3; +endrewards + +// tokens in cell4 +rewards "tokens_cell4" + true : x4+y4+z4; +endrewards + +// throughput of the system +rewards "throughput" [in] true : 1; - endrewards