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.
14 lines
361 B
14 lines
361 B
// only one leader is elected
|
|
fiter(forall, leaders<=1)
|
|
|
|
// with probability 1 eventually a leader is elected
|
|
P>=1 [ F "elected" ]
|
|
|
|
// min/max probability leader is elected within K steps
|
|
const int K;
|
|
Pmin=? [ F<=K "elected" ]
|
|
Pmax=? [ F<=K "elected" ]
|
|
|
|
// the min/max expected time to elect a leader
|
|
Rmin=? [ F "elected" ]
|
|
Rmax=? [ F "elected" ]
|