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.
10 lines
267 B
10 lines
267 B
const int L;
|
|
|
|
// Probability that a leader is eventually elected
|
|
P=? [ F "elected" ]
|
|
|
|
// Probability that a leader is elected within L rounds
|
|
P=? [ F<=(L*(N+1)) "elected" ]
|
|
|
|
// Expected time (num. rounds) to elect a leader
|
|
R{"num_rounds"}=? [ F "elected" ]
|