Philip Bille
Randomized Algorithms I
- Probability
- Contention Resolution
- Minimum Cut
Randomized Algorithms I Probability Contention Resolution Minimum - - PowerPoint PPT Presentation
Randomized Algorithms I Probability Contention Resolution Minimum Cut Philip Bille Randomized Algorithms I Probability Contention Resolution Minimum Cut Probability Probability spaces. Set of possible outcomes
.
has probability and .
and probability of is .
and .
πβΞ©
πβπ₯
?
.
.
trying to access a shared database:
locked out.
database
database
database
successfully accesses database at time .
πβπ€
probability that process i requests access. probability that no other process requests access. converges to from above.
(π€ β π€ π )
πβπ€
π€/πΏ
.
fails to access database in any of rounds .
π
π=π€
π
π=π€
πβπ€
π
π
βπΏπβ
πΏπ
π½ ln π
probability that does not succeed in round 1 and round 2 and ... and round t.
π°π
independence.
Pr (π³π,π) β₯ π€ πΏπ
converges to from below.
(π€ β π€ π )
π
π€/πΏ
.
rounds .
rounds is at least .
π
π=π€
π
π=π€
π
βπΏπβπ₯ ln π
π₯ ln π
probability that any
fails in rounds
π°π€, β¦, π°π π€, β¦, π
union bound
Pr (π¦π,π) β€ (π€ β π€ πΏπ )
π
rounds all processes have accessed database with probability at least .
A B
b a c d c d {a,b}
b a c d c d {a,b} d {a,b,c}
cut is ({a,b,c}, {d}) of size 2
.
A B F
(otherwise smaller cut exists) .
.
πβπΆ
πβπΆ
A B F
from , given that no edge from was contracted in rounds ?
nodes and no edges from was contracted in rounds .
is a cut in β at least edges incident to every node in
contains at least edges β probability is .
A B F
.
.
in polynomial time.
runs with independent random choices the probability of failure to find minimum cut is .
ππ₯ ln π
π₯ ln π