cs500_sol1 - S500 Algorithms Homework #1 Solution 1. (1)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
S500 Algorithms Homework #1 Solution 1. (1) False (2) False 2. Reduce the problem into a max-flow problem. z Construct flow network by given parameters. (see the above example) z Run max-flow algorithm on the constructed network. z If |f | is equa l to the number of c l ient , conc lude that every c lient can be connected simultaneously to a base station. 1 L L 1 1 1 L s C 1 B 2 B 1 t B 3 Base C 2 Client 1 1 E = {(s, C i ) : C i ∈ Client} ∪ {(C i , B j ) : C i ∈ Client, B j ∈ Base and dist(C i , B j ) < r} ∪ {(B i , t) : B i ∈ Base} 1/1 1/2 1/2 1/1 3/4 1/1 1/2 s t 2/2 2/3 2/3 1/2 5/5 2/2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3. The edge connectivity z Algorithm ± Construct flow network; directed graph G’=(V’, E’) by given undirected graph G=(V, E) such that V’ = V and E’ = {(u i , v i ), (v i , u i ) : e i =(u i , v i )∈E} with each edge capacity 1 ± Choose a vertex u as source ± Define |f uv | as maximum flow of G’ with source u and sink v ± Min{|f uv | : v ∈V-{u} } z Analysis
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

cs500_sol1 - S500 Algorithms Homework #1 Solution 1. (1)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online