Maximum Independent Set in 2-Direction Outer-Segment Graphs Holger - - PowerPoint PPT Presentation

maximum independent set in 2 direction outer segment
SMART_READER_LITE
LIVE PREVIEW

Maximum Independent Set in 2-Direction Outer-Segment Graphs Holger - - PowerPoint PPT Presentation

Maximum Independent Set in 2-Direction Outer-Segment Graphs Holger Flier, Mat Mihalk, Peter Widmayer, Anna Zych ETH Zrich 1 The problem: Maximum Independent Set of Segments aligned horizontally or vertically inside a disk with one


slide-1
SLIDE 1

1

Maximum Independent Set in 2-Direction Outer-Segment Graphs

Holger Flier, Matúš Mihalák, Peter Widmayer, Anna Zych ETH Zürich

slide-2
SLIDE 2

2

The problem: Maximum Independent Set of Segments

aligned horizontally or vertically inside a disk with one endpoint on the boundary Input: A set of segments as above Output: A subset of segments pairwise disjoint The problem reduces to Maximum Independent Set (MIS) Problem in corresponding intersection graphs

slide-3
SLIDE 3

3

Related results [Kratochvíl, Nešetřil 1990]

  • MIS (of segments) is polynomial for segments in 2

directions with one endpoint fixed on a boundary of a disk

  • MIS is NP-hard for segments in the plane
  • aligned in 2 directions...
  • ...or in 3 directions but no two segments in one direction

intersect

Our result

slide-4
SLIDE 4

4

Why this problem?

Train station

MIS is open for outer-string graphs

slide-5
SLIDE 5

5

Easy vs. NP-hard

Easy instance:

  • pposite segments do not intersect

The intersection graph is bipartite:

G=(V , E):V =A∪B , E⊆A×B

slide-6
SLIDE 6

6

Easy vs. NP-hard

A: vertical segments Easy instance:

  • pposite segments do not intersect

The intersection graph is bipartite:

G=(V , E):V =A∪B , E⊆A×B

slide-7
SLIDE 7

7

Easy vs. NP-hard

A: vertical segments B: horizontal segments Easy instance:

  • pposite segments do not intersect

The intersection graph is bipartite:

G=(V , E):V =A∪B , E⊆A×B

slide-8
SLIDE 8

8

Easy vs. NP-hard

A: vertical segments B: horizontal segments E: edges connect intersecting pairs: vertical with horizontal

Independent set in bipartite graphs is polynomial!

Easy (bipartite) instance:

  • pposite segments do not intersect

The intersection graph is bipartite:

G=(V , E):V =A∪B , E⊆A×B

slide-9
SLIDE 9

9

Easy vs. NP-hard

Not easy instance:

  • pposite segments intersect

The intersection graph is bipartite plus two matchings:

Independent set is NP-hard in such graphs!

slide-10
SLIDE 10

10

Easy vs. NP-hard

Easy instance: no horizontal segments (one direction)

The intersection graph is a matching: also a bipartite instance

slide-11
SLIDE 11

11

3 side instances

Not trivial: solvable in polynomial time with dynamic programming (still to come)

slide-12
SLIDE 12

12

General case: Decomposition to simpler instances

  • Decompose the input instance

into few 3 side instances

  • Decomposition is determined

by a constant number of segments

  • Exhaustively search for the

decomposition segments and solve 3 side instances

slide-13
SLIDE 13

13

Getting rid of overlaps

  • verlap
slide-14
SLIDE 14

14

Getting rid of overlaps

Instance of interest:

➢ No overlapping pair

  • f left segments in optimum

➢ No overlapping pair

  • f right segments in optimum

This partition is determined by four segments of the optimum

slide-15
SLIDE 15

15

Completing the partition into 3 side instances

Case 1: an overlapping pair of a left and a right segment

slide-16
SLIDE 16

16

Completing the partition into 3 side instances

Case 1: an overlapping pair of a left and a right segment √ Case 2: no overlapping pair

slide-17
SLIDE 17

17

Completing the partition into 3 side instances

Case 1: an overlapping pair of a left and a right segment √ Case 2: no overlapping pair √ The overall partition into 3 side instances is determined by at most six segments

slide-18
SLIDE 18

18

The algorithm for 3 side instances

  • Bottom side segments of optimum

partition the disk into regions:

➢ optimum is the sum of optima

within the regions

➢ instances within the regions are

bipartite

  • Dynamic programming:

➢ to compute a solution for a region,

use partial solutions computed for regions contained in it

slide-19
SLIDE 19

19

Decomposing 3 side instances

slide-20
SLIDE 20

20

Decomposing 3 side instances

slide-21
SLIDE 21

21

Decomposing 3 side instances

slide-22
SLIDE 22

22

Dynamic Programming

is determined uniquely

by a left and a right segment U i U i−1=U i∪Bi∪T i MIS [U i] D ∖U i Properties: is a maximum independent set in The sweeping process processes the left segments from left to right and the right segments from right to left

slide-23
SLIDE 23

23

Dynamic Programming

U l ,r MIS [U l ,r] D ∖U l ,r is a maximum independent set in

:

MIS [U l ,r]=maxl '<l : sl '≥sl(MIS [U l ' , r]+OPT (T l)+OPT (Bl)) MIS [U 0,0]=0

sl sr

is determined uniquely

By (left) and (right segment) U i−1=U i∪Bi∪T i Properties: The sweeping process processes the left segments from left to right and the right segments from right to left

slide-24
SLIDE 24

24

Open Problems

  • MIS in outer-segment graphs for segments

aligned in more than 2 directions

  • MIS in outer-string graphs