21
Many-to-One Boundary Labeling Hao-Jen Kao, Chun-Cheng Lin, Hsu-Ch un Yen Dept. of Electrical Engineering National Taiwan University

Many-to-One Boundary Labeling

  • Upload
    tex

  • View
    27

  • Download
    1

Embed Size (px)

DESCRIPTION

Many-to-One Boundary Labeling. Hao-Jen Kao, Chun-Cheng Lin, Hsu-Chun Yen Dept. of Electrical Engineering National Taiwan University. Outline. Introduction Motivations Problem setting Our results Conclusion & Future work. Point features e.g., city. Line features e.g., river. - PowerPoint PPT Presentation

Citation preview

Page 1: Many-to-One Boundary Labeling

Many-to-One Boundary Labeling

Hao-Jen Kao, Chun-Cheng Lin, Hsu-Chun Yen

Dept. of Electrical EngineeringNational Taiwan University

Page 2: Many-to-One Boundary Labeling

2

Outline

Introduction

Motivations

Problem setting

Our results

Conclusion & Future work

Page 3: Many-to-One Boundary Labeling

3

Map labelingPoint features

e.g., city

Line features

e.g., river

Area features

e.g., mountain

Page 4: Many-to-One Boundary Labeling

4

Boundary labeling (Bekos et al., GD 2004)

(Bekos & Symvonis, GD 2005)

Type-opo leaders Type-po leders Type-s leaders

Min (total leader length)s.t. #(leader crossing) = 0

1-side, 2-side, 4-side

sitelabel

leader

Page 5: Many-to-One Boundary Labeling

5

Variants

Polygons labeling (Bekos et. al, APVIS 2006)

Multi-stack boundary labeling (Bekos et. al, FSTTCS 2006)

Page 6: Many-to-One Boundary Labeling

6

Motivations

In practice, it is not uncommon to see more than one site to be associated with the same label

Ex1: The language distribution of a countryEach city site

The main language used in a city label

Ex2: Religion distribution in each state of a country

Ex3: The association or organization composed of some countries in the world

Page 7: Many-to-One Boundary Labeling

7

Many-site-to-one-label boundary labeling (a.k.a. Many-to-one boundary labeling)

Type-opo leaders Type-po leders Type-s leaders

Main aesthetic criteria:To minimize the leader crossings

To minimize the total leader length

Crossing problem

Leader length problem

Page 8: Many-to-One Boundary Labeling

8

Our main results

objective # of sidesleader type

complexity solution

Min #(crossing)

1-side opo NP-complete 3-approx.

2-side opo NP-complete3(1+.301/c)-

approx.

1-side po NP-complete heuristic

Min

Total leader length

any any O(n2 log3n)

Note that c is a number depending on the sum of edge weights.

Page 9: Many-to-One Boundary Labeling

9

Main assumption

AssumptionThere are no two sites with the same x- or y- coordinates

When we consider the crossing problem for the labeling with type-opo leaders, only y-coordinates matter.

1

2

#(crossings) = 2 #(crossings) = 2downwardupward

2

1

Page 10: Many-to-One Boundary Labeling

10

1-side-opo crossing problem is NP-C

The Decision Crossing Problem (DCP)

DCP is NP-C. (Eades & Wormald, 1994)

DCP 1-side-opo crossing problem

Fixed ordering

Find an orderings.t. #(crossing) is minimized.

#(crossings) M #(crossings) 4M + #(self-contributed crossings)

Page 11: Many-to-One Boundary Labeling

11

Median algorithm (Eades & Wormald, 1994)

Median algorithm is 3-approximation of 1-side-opo crossing problem(The correctness proof is along a similar line of that of [Eades & Wormald, 1994])

3-approximation

Arbitrary Median algorithm

Page 12: Many-to-One Boundary Labeling

12

Brown booby

Taiwan hill partridge

Masked palm civet

Hawk

Melogale moschata

Bamboo partridge

Chinese pangolin

Mallard

Experimental resultDistribution of someanimals in Taiwan:

Page 13: Many-to-One Boundary Labeling

13

2-side-opo crossing problem is NP-C even when n1 = n2

2-side-opo crossing problem even when n1 = n2

Legal operations:Swapping two nodes between the two sides

Change the node ordering in each side

1-side-opo crossing problem 2-side-opo crossing problem even when n1 = n2

2

N

2

N +1

l1

l2

l3

r1

ln

r2

r3

p1

p2

p3

pN

rnpn

+1

Page 14: Many-to-One Boundary Labeling

14

Max-Bisection Problem

There exists a 1.431-approximiation algorithm for the Max-Bisection problem (Ye, 1999).

By using the approximation algorithm for the Max-Bisection problem, we can find a 3(1+.301/c)-approximation for the 2-side-opo crossing problem, where c is a number depending on the sum of edge weights.

3(1+.301/c)-approximation

weighted graph|V| = n

# = n/2 # = n/2

Max (edge weight sum on the cut)

Page 15: Many-to-One Boundary Labeling

15

Algorithm

Median algorithm

1

3 1

111

Completeweighted graph

Step 1. Step 2. Step 3.

Max-Bisection

sites labels

Less crossings

sites labelslabels

Page 16: Many-to-One Boundary Labeling

16

Brown booby

Masked palm civet

Hawk

Chinese pangolin

Taiwan hill partridge

Melogale moschata

Bamboo partridge

Mallard

Experimental result

Page 17: Many-to-One Boundary Labeling

17

1-side-po crossing problem is NP-C

1-side-opo crossing problem 1-side-po crossing problem

Page 18: Many-to-One Boundary Labeling

18

Greedy heuristic

Link the leftmost site and the sites with the same color

Experimental results

Page 19: Many-to-One Boundary Labeling

19

Total leader length problem

For any number of sides and any type of leaders, minimizing the total leader length for many-to-one labeling can be solved in O(n2 log3n) time

3

4

1

2

1

4

2

3

complete weightedbipartite graph

edge weight= Manhattan distance

Find minimum weight matching

Page 20: Many-to-One Boundary Labeling

20

Conclusion

objective # of sidesleader type

complexity solution

Min #(crossing)

1-side opo NP-complete 3-approx.

2-side opo NP-complete3(1+.301/c)-

approx.

1-side po NP-complete heuristic

Min

Total leader length

any any O(n2 log3n)

Note that c is a number depending on the sum of edge weights.

Page 21: Many-to-One Boundary Labeling

21

Future work

Is there an approximation algorithm for the 1-side-po crossing problem?

Is the 2-side-po crossing problem tractable?

Is the 4-side many-to-one labeling tractable?

Can we simultaneously achieve the objective to minimize #(crossing) as well as minimize the total leader length?