T-79.4001 Seminar on Theoretical Computer Science Spring 2007 – Distributed Computation
Distributed selection
Toni Kylmälä
toni.kylmala@tkk.fi
1
Distributed selection Toni Kylml toni.kylmala@tkk.fi 1 - - PowerPoint PPT Presentation
T-79.4001 Seminar on Theoretical Computer Science Spring 2007 Distributed Computation Distributed selection Toni Kylml toni.kylmala@tkk.fi 1 Distiributed Selection - Basics Data x D x Data set: D = S Distribution of set to sites D xi
T-79.4001 Seminar on Theoretical Computer Science Spring 2007 – Distributed Computation
toni.kylmala@tkk.fi
1
Distiributed Selection - Basics
x Dx
2
Distiributed Selection - Basics
3
Distiributed Selection - Basics
4
Distiributed Selection - Small sets
5
Distiributed Selection - Two sites special case
6
Distiributed Selection - Two sites special case
7
Distiributed Selection - Two sites special case
8
Distiributed Selection - General algorithms
9
Distiributed Selection - General algorithms
10
Distiributed Selection - General algorithms
11
Distiributed Selection - General algorithm with a twist
N+1 )− 1 2⌉.
12
Distiributed Selection - General algorithms with guaranteed reasonable costs
x denote the elements of site x in iteration i and ni x = |Di x| denote its size. Consider the
x = Di x[⌈ ni x/2 ⌉] of Di x and let Mi = {di x} be the set of these medians. Associate
n)
n).
13
Distiributed Selection - General algorithms with guaranteed reasonable costs
14
Distiributed Selection - General algorithms with guaranteed reasonable costs
15
Distiributed Selection - General algorithms with guaranteed reasonable costs
2i2i −1 = K - 1 elements smaller than itself in
16
Distiributed Selection - General algorithms with guaranteed reasonable costs
17
Distiributed Selection - General algorithms with guaranteed reasonable costs
18
Distiributed Selection - Summary
19