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.
11 lines
435 B
11 lines
435 B
// only one leader is elected
|
|
(s1=4?1:0) + (s2=4?1:0) + (s3=4?1:0)<=1
|
|
// with probability 1 eventually a leader is elected
|
|
P>=1 [ true U (s1=4 | s2=4 | s3=4) ]
|
|
// min/max probability leader is elected within K steps
|
|
const int K;
|
|
Pmin=?[ true U<=K (s1=4 | s2=4 | s3=4) ]
|
|
Pmax=?[ true U<=K (s1=4 | s2=4 | s3=4) ]
|
|
// the min/max expected time to elect a leader
|
|
Rmin=?[ F (s1=4 | s2=4 | s3=4) ]
|
|
Rmax=?[ F (s1=4 | s2=4 | s3=4) ]
|