29
GD 2011 September 21, 2011 Embedding Plane 3-Trees in R 2 and R 3 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg. Bangladesh University of Engineering and Technology Department of Computer Science University of Victoria Department of Computer Science University of Manitoba

GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

Embed Size (px)

Citation preview

Page 1: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Embedding Plane 3-Trees in R2 and R3

Stephane Durocher

Debajyoti Mondal

Md. Saidur RahmanSue Whitesides

Rahnuma Islam Nishat

Dept. of Computer Science and Engg.Bangladesh University of

Engineering and Technology

Department of Computer ScienceUniversity of Victoria

Department of Computer ScienceUniversity of Manitoba

Page 2: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Point-Set Embeddings

a

b

c

de fg

h

i

A plane graph G A point set P

1

Page 3: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Point-Set Embeddings

a

b

c

de fg

h

i

A plane graph G An embedding of G on P

a

b

c

de fg

h

i

2

Page 4: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Previous Results

Gritzmann et al. (1991),Castañeda and Urrutia (1996) Outerplanar graphs O(n2)

Bose (2002) Outerplanar graphs O(n lg 3n)

Cabello (2006) Biconnected 2-outerplanar graphs NP-complete

Nishat et al. (2010)Plane 3-trees

Partial plane 3-treesO(n2),

NP-complete

Moosa et al. (2011) Plane 3-trees O(n4/3 + ɛ log n)

This PresentationPlane 3-trees, O(n4/3 + ɛ )-time algorithm in R2,

NP-complete in R3, when a mapping for the outervertices is prespecified

Reference Graph Class Time complexity

3

Page 5: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Plane 3-Trees

a

b

c

de

fg

hi

j

k

l

mn

o

A plane 3-tree G

fg

hi

j

k

l

mn

oa

b

c

de

A construction for G

4

Page 6: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

a

b

c

de

fg

hi

j

k

l

mn

o

A plane 3-tree G

fg

hi

j

k

l

mn

oa

b

c

de

The representative vertex of G

k

le

A plane 3-tree

A plane 3-tree

A construction for G

Properties of Plane 3-trees

c

o

c

g

mn

d

A plane 3-tree

5

Page 7: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

a

b

c

d

e

Convex Hull

fgh

General Idea of the Algorithm

A plane 3-tree G A point set P

6

Page 8: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

General Idea of the Algorithm

b

c

d

e

a c

b

afgh

A plane 3-tree G A point set P

We can map the outervertices in Six different ways.

7

Page 9: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

General Idea of the Algorithm

db

c

d

e

a a

c

b

0

3

1

Find a valid mapping for the representative vertex.

fgh

Valid mapping??

a

b

c

d

e

fgh

n1 = 1

n2 = 1

n3 = 2

8

Page 10: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

a

c

bd

1

1

2

Find a valid mapping for the representative vertex.

General Idea of the Algorithm

b

c

d

e

a

fgh

a

b

c

d

e

fgh

n1 = 1

n2 = 1

n3 = 2

9

Page 11: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

General Idea of the Algorithm

b

c

d

e

a a

c

bd

fgh

e

hf

g

Find a valid mapping for the representative vertex recursively.

a

b

c

d

e

fgh

10

Page 12: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

How fast can we find a valid mapping for the representative vertex,

if such a mapping exists?

11

Page 13: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Finding a Valid Mapping

b

c

d

e

a

c

Representative vertex cannot be mapped in the shaded regions.

At most min{n1, n2, n3}+1 points in the white region are candidates.

fgh

a

b

c

d

e

fgh

Assume that n1≤ min{n2,n3}.

a

n3 = 2

n2 = 1

b

n1 = 1

n2 = 1

n3 = 2

12

Page 14: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Finding a Valid Mapping

a

b

c

d

e

a

c

b

fgh

a

b

c

d

e

fgh

z

Choose a random point z ϵΔabcWe need n3 points in this region

How do we select the shaded regions?

n1 = 1

n2 = 1

n3 = 2

13

Page 15: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Finding a Valid Mapping

a

b

c

d

e

a

c

b

fgh

a

b

c

d

e

fgh

How do we select the shaded regions?

z

Choose a random point z ϵΔabcWe need n3 points in this regionn1 = 1

n2 = 1

n3 = 2

14

Page 16: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

How do we select the shaded regions?

Finding a Valid Mapping

b

c

d

e

a

fgh

a

b

c

d

e

fgh

c

a

b

n3 = 2

n2 = 1

n1 = 1

n2 = 1

n3 = 2

Selecting the shaded regions takes O(tn log n) expected time.

At most min{n1, n2, n3}+1 points in the white region are candidates.

15

Page 17: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

a

c

bd

1

1

2

Find a valid mapping in fn = O(tn log n) + O(tn min{n1, n2, n3}) time.

T(n) = T(n1)+ T(n2)+ T(n3)+ fn

= O(n4/3 + ɛ ), for any ɛ > 0, using Chazelle’s DS.

Time Complexity

b

c

d

e

a

fgh

a

b

c

d

e

fgh

n1 = 1

n2 = 1

n3 = 2

Page 18: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Extension to R3 ?

b

c

d

e

a c

b

afgh

A plane 3-tree G A point set P and a prespecified mapping for the outervertices of G

The problem is NP-hard when the points are in R3. Remove the general position assumption.

16

Page 19: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

3-Partition

Instance: A set of 3m nonzero positive integers S = {a1, a2,...,a3m}

and an integer B > 0, where a1+a2+...+a3m = mB and

B/4 <ai <B/2,1 ≤ i ≤ 3m.

Question: Can S be partitioned into m subsets S1,S2,...,Sm such that

|S1| =|S2| = ... = |Sm| =3 and the sum of the integers in each

subset is equal to B?

S = {9, 10, 14, 12, 10, 9, 12, 11, 9, 10, 11, 11 } , B = 32 , 8 < ai < 16

S1={10, 10, 12} , S2={ 9, 11, 12} , S3={ 9, 9,14} , S4={ 10, 11,11}

Example:

17

Page 20: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

3-Partition PSE in R3

a 1a 2

a 3mBB

Y

b

c

Z

Xa

b

ca18

G

P

Page 21: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Idea of the Hardness Proof

S = {9, 10, 14, 12, 10, 9, 12, 11, 9, 10, 11, 11 } , B = 32

S1={10, 10, 12} , S2={ 9, 11, 12} , S3={ 9, 9,14} , S4={ 10, 11,11}

Example:

B B B B

19

x

Page 22: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Idea of the Hardness Proof

S = {9, 10, 14, 12, 10, 9, 12, 11, 9, 10, 11, 11 } , B = 32

S1={10, 10, 12} , S2={ 9, 11, 12} , S3={ 9, 9,14} , S4={ 10, 11,11}

Example:

B B B B9

10

11

a1

a2

a|S| A fan

A divider

20

x

Page 23: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Idea of the Hardness Proof

S = {9, 10, 14, 12, 10, 9, 12, 11, 9, 10, 11, 11 } , B = 32

S1={10, 10, 12} , S2={ 9, 11, 12} , S3={ 9, 9,14} , S4={ 10, 11,11}

Example:

20

x

{10, 10, 12} { 9, 11, 12} { 9, 9,14} { 10, 11,11}

Page 24: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Idea of the Hardness Proof

a 1a 2

a 3mBB

Y

b

c

Z

Xa

b

ca21

G

P

Page 25: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Idea of the Hardness Proof

BB

b

c

b

ca

A fan

A dividera

A spine vertex

22G

P

Page 26: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Idea of the Hardness Proof

BB

b

c

b

ca

A fan

A dividera

A spine vertex

23G

P

Page 27: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

b

GD 2011September 21,

2011

Idea of the Hardness Proof

BB

c

b

ca

EdgeCrossings?

a

24

A spine vertexA fan

A divider

G

P

Page 28: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Future Works

Finding an algorithm that takes less than O(n4/3 + ɛ ) time.

Removing the constraint of the three outervertices from the NP-completeness result.

Work in progress:

Examining the time complexity of the point-set embedding problem in R2 when the input graph is 3-connected.

25

Page 29: GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg

GD 2011September 21,

2011

Thank You..

Dept. of Computer Science and Engg.Bangladesh University of

Engineering and Technology

Department of Computer ScienceUniversity of Victoria

Department of Computer ScienceUniversity of Manitoba