chapter 4 partition i. covering and dominating. unit disk covering given a set of n points in the...

39
Chapter 4 Partition I. Covering and Dominating

Upload: maleah-baily

Post on 29-Mar-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Chapter 4 Partition

I. Covering and Dominating

Page 2: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Unit Disk Covering

• Given a set of n points in the Euclidean plane, find the minimum number of unit disks to cover the n given points.

Page 3: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

(x,x)

Partition P(x)

a

Partition as a restriction

Page 4: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Construct Minimum Unit Disk Cover in Each Cell

1/√2

Each square with edge length1/√2 can be covered by a unitdisk.Hence, each cell can be coveredBy at most disks.

Suppose a cell contains ni points.Then there are ni(ni-1) possiblepositions for each disk.

Minimum cover can be computed In time ni

O(a )2

22a

Page 5: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Solution S(x) associated with P(x)

For each cell, construct minimum cover.S(x) is the union of those minimum covers.

Suppose n points are distributed into k cells containing n1, …, nk points, respectively.Then computing S(x) takes time

n1 + n2 + ··· + nk < nO(a ) O(a ) O(a ) O(a )

2 2 2 2

Page 6: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Approximation Algorithm

For x=0, -2, …, -(a-2), compute S(x).

Choose minimum one from S(0), S(-2), …, S(-a+2).

Page 7: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Analysis

• Consider a minimum cover.

• Modify it to satisfy the restriction, i.e.,

a union of disk covers for all cells.

• To do such a modification, we need to add some disks and estimate how many disks are added.

Page 8: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Added DisksCount twice

Count four times

2

So, we have a 4-approximation.

Page 9: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

2

Shifting

Page 10: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Estimate # of added disks

Shifting

Page 11: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Estimate # of added disks

In vertical strips,

each disk appearsonce.

Page 12: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Estimate # of added disks

In horizontal strips,

each disk appears once.

Page 13: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Estimate # of added disks

# of added disks for P(0)

+ # of added disks for P(-2)+ ···+ # of added disks for P(-a+2)

< 3 opt

where opt is # of disk in a minimum cover.

There exists an x such that # of added disks for P(x) < (6/a) opt.

(each disk can be addedonly to one P(a).)

Page 14: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Performance Ratio

P.R. < 1 + 6/a < 1 + ε when we choose a = 6 ⌠1/ε .

Running time is n.O(1/ε )2

Page 15: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Unit disk graph

< 1

Page 16: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Dominating set in unit disk graph

• Given a unit disk graph, find a dominating set with the minimum cardinality.

• Theorem This problem has PTAS.

• Note: This is just the unit disk covering problem with the restriction that each disk must be centered at an input point.

Page 17: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Connected Dominating Set in Unit Disk Graph

• Given a unit disk graph G, find a minimum connected dominating set in G.

Theorem There is a PTAS for connected dominating set in unit disk graph.

Page 18: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Existence of 4-approximation

1. There exists (1+ε)-approximation for minimum dominating set in unit disk graph.

2. We can reduce one connected component with at most two nodes.

Therefore, there exists a 3(1+ε)-approximation for mcds.

Page 19: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Partition

But, how do we combine solutionsin each cell together?

Page 20: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Boundary area

central area

h

h+1

Add extra vertices around the Boundary area

Page 21: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Why overlapping?

cds for G

cds for eachconnectedcomponent 1

Page 22: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

1. In each cell, construct MCDS for each conn. component in the central area.

Constructing a PTAS

2. Find a 4-approximation D of MCDS of the whole graph, and add Dbound to the solution

Page 23: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Step 1 is a restriction:

In each central area of a cell e, the feasible solution C[e] must satisfy:

Each conn. component H of G[e] is dominatedby a single conn. component of C[e].

Page 24: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

The resulting set of nodes must be a dominating set.

This set is also connected:

1. Two conn. components of Dbound can be connected in D through a conn. component in a central area A. The end points of these components must be dominated by MCDS of A. So, the two components together with MCDS of A are connected together.

Page 25: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

2. Every conn. component C of MCDS of a central area is connected to Dbound.

• A point x in C must be dominated by some point y in D.

• y is connected to a point z in Dbound, with all points in the path lying in central area.

• This path and C are in the same conn. component, and so is dominated by C.

• So, C is connected to z.

Page 26: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

MCDS (time)

2/2

2)2(a

1. In a square of edge length , any node can dominate every node in the square. Therefore, minimum dominating set has size at most .

a

2/2

Page 27: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

2/2

2. The total size of MCDSs for connected components in a central area is at most .

a

3)2(3 a

Page 28: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

nnaO

ii

aO

i

i

n

n

aO

)()(

22

)2(

is time total thecells, allOver

.

time takesareainner in the components

connected allfor cell in the MCDSs all

findingThen nodes. cotains cell a Suppose

Page 29: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

MCDS (size)

• Modify a MCDS for G into MCDSs in each cell.

• D*: MCDS for G

• D*[e]: MCDS in a cell e

• D*[e] may not satisfy the restriction; i.e., D*[e] may contain k > 1 components that are in the same component of G[e].

Page 30: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Estimate P.R.

For an MCDS D*, modify it as follows:

(1) In each central area, connect all

conn. components of D*[e] that are in

the same component of G[e].

(2) Add Dbound to it.

Use Charging Method to count the extra from (1).

Use Shifting Technique to reduce it.

Page 31: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Charge the extra vertices toa boundary point

charging

Charged to

Rule 1: Each componentIs charged at most twice.

Rule 2: In each component,charge to the point just outsidethe central area.

Page 32: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Multiple Charges

charge

How many possiblecharges for each Boundary node?

How many componentscan each node be adjacent to?

Page 33: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

How many independent points can be packed in a half disk with radius 1?

1

>1

3

Page 34: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Each node can be charged at most 6 times!!!

Each node can connect to at most 3 components.

Each component makes at most 2 charges to a node.

Therefore, each node can be charged at most 6 times.

Page 35: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Shifting

• Shifting the

partition with

distance 1.

• Each vertex can

appear in the

boundary area of

at most 4(h+1)

partitions.

Page 36: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Extra nodes in a fixed partition P(a)

• Each boundary point of D* may be charged 6 times

• Each boundary point of D is used once.

• Together, we get 6 |D*bound| + |Dbound|

By shifting, the total extra nodes in all partitions:

(6 x 4(h+1) + 4 x 4(h+1)) |D*|

Page 37: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Charging and Shifting

3

p.r.= 1+40(h+1)/a

Time=nO(a )2

Set h=3

dimesion.any in in timeion approximat-)1( )/1( 2 On

Page 38: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Weighted Dominating Set

• Given a unit disk graph with vertex weight, find a dominating set with minimum total weight.

• Can the partition technique be used for the weighted dominating set problem?

Page 39: Chapter 4 Partition I. Covering and Dominating. Unit Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks

Dominating Set in Intersection Disk Graph

• An intersection disk graph is given by a set of points (vertices) in the Euclidean plane, each associated with a disk and an edge exists between two points iff two disks associated with them intersects.

• Can the partition technique be used for dominating set in intersection disk graph?