minimum routing cost spanning trees kun-mao chao ( 趙坤茂 ) department of computer science and...
TRANSCRIPT
![Page 1: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/1.jpg)
Minimum Routing Cost Spanning Trees
Kun-Mao Chao (趙坤茂 )Department of Computer Science an
d Information EngineeringNational Taiwan University, Taiwan
E-mail: [email protected]
WWW: http://www.csie.ntu.edu.tw/~kmchao
![Page 2: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/2.jpg)
2
An MST with large routing cost
2
......
2
2
2
2
2
1
1
11
1
![Page 3: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/3.jpg)
3
A small routing cost tree with large weight
1
1
....
11 v0
1
1
1
1
v3
v2
v1
vi
v-2
v-1
.... ....
3/)2|(|),(
1),(
0
1
ivvw
vvw
i
ii
![Page 4: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/4.jpg)
4
Minimum routing cost spanning trees
• Given a graph, find a spanning tree with the minimum all-to-all distance
• NP-hardTvu
vud
vudTC
T
vuT
on and between
path)shortest the(of
distance theis ),( where
),()( Minimize,
![Page 5: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/5.jpg)
5
Routing cost C(T)=192v1 v2
v3
10
v4 v5
5 3 1
![Page 6: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/6.jpg)
6
Routing load l(T,e)
)(
)(),()(TEe
eweTlTC
![Page 7: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/7.jpg)
7
Routing cost C(T)=192v1 v2
v3
10
v4 v5
5 3 1
1921838581012)(
8412)),(,(
8412)),(,(
8412)),(,(
12322)),(,(
52
42
31
21
TC
vvTl
vvTl
vvTl
vvTl
![Page 8: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/8.jpg)
8
The impact of the topology
v1 vnv2 v3
T2
1 1 1...
T1
v2
v1v3
5
55
...5
5
5vn
21 )1(10)( nTC
3
)1)(1(
)(2)(11
2
nnn
iniTCni
![Page 9: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/9.jpg)
9
bound on routing load
x n - x
)1(2Minimum21
Maximum
].1,1[in integer an is where
2 2
)(2load Routing
2
2
n
n
nx
xnx
xnx
![Page 10: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/10.jpg)
10
bound on routing load
>=δn >=δn
)(2load Routing nnn
Why?
![Page 11: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/11.jpg)
11
Median
• Let r be the median of graph G=(V,E,W), i.e., the vertex with the minimum total distance to all vertices.
• In other words, r minimizes the function
.on and between (distance)
length path -shortest theis ),( where
),()(
Guv
uvd
uvdvf
G
vuG
![Page 12: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/12.jpg)
12
A 2-approximation
• A shortest-paths tree rooted at the median of a graph is a 2-approximation of an MRCT of the graph.
(Please refer to our discussions in class.
A note on this has been posted in our course website.)
![Page 13: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/13.jpg)
13
Centroid
r r1 r2
(a) (b)
![Page 14: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/14.jpg)
14
Some interesting vertices
• Centroid
• Median
• Center
* a tree with positive edge lengths, the median coincides with the centroid.
![Page 15: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/15.jpg)
15
1/2, 1/3, 1/4-separatorsv1v2 v3v4
v5
v1v2 v3v4
v5
v1v2 v3v4
v5
v1v2 v3v4
v5
(a) (b)
(d)(c)
![Page 16: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/16.jpg)
16
A δ-separator
<=kn<=kn
<=kn
<=kn
<=kn <=kn
<=kn<=kn
iS
brn(T,S,i)={B1,B2,B3}
B1
B2 B3
VB(T,S,i)
![Page 17: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/17.jpg)
17
A 15/8-approximation algorithm
• Use a minimal 1/3-separator to estimate a lower of the routing cost of an MRCT– There exists a path P which is a minimal 1/3-
separator–
• The endpoints of P are useful in constructing a lower routing cost spanning tree
Vv
MRCT Pwn
Pvdn
MRCTC )(9
4),(
34
)(2
![Page 18: Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan](https://reader036.vdocuments.site/reader036/viewer/2022081508/56649ec65503460f94bd159e/html5/thumbnails/18.jpg)
18
A 3/2-approximation algorithm
• Besides the two endpoints of P, a centroid is used to lower the upper bound.