Computing Covers of Plane Forests Luis Barba Alexis Beingessner - - PowerPoint PPT Presentation

computing covers of plane forests luis barba alexis
SMART_READER_LITE
LIVE PREVIEW

Computing Covers of Plane Forests Luis Barba Alexis Beingessner - - PowerPoint PPT Presentation

Computing Covers of Plane Forests Luis Barba Alexis Beingessner Prosenjit Bose Michiel Smid Previous Work Given a set T = { T 1 , T 2 , . . . , T m } of m pairwise non-crossing geometric trees with a total of n vertices in general position. The


slide-1
SLIDE 1

Computing Covers of Plane Forests Luis Barba Alexis Beingessner Prosenjit Bose Michiel Smid

slide-2
SLIDE 2

Previous Work

Given a set T = {T1, T2, . . . , Tm} of m pairwise non-crossing geometric trees with a total of n vertices in general position. The coverage of these trees is the set of all points p in R2 such that every line through p intersects at least one of the trees.

slide-3
SLIDE 3

Previous Work

slide-4
SLIDE 4

Previous Work

slide-5
SLIDE 5

Previous Work

Beingessner and Smid 2012:

◮ Coverage can be computed in O(m2n2) time ◮ Worst case example with coverage of size Ω(n4). ◮ Problem is Θ(n4)

slide-6
SLIDE 6

Previous Work

Is slowness a consequence of bad inputs being “contrived”? Optimization to be had in structure of “real” inputs?

slide-7
SLIDE 7

Observations

Coverage of a single tree is it’s convex hull

slide-8
SLIDE 8

Observations

If two coverages overlap, their combined convex hull is covered

slide-9
SLIDE 9

The hull-cover

◮ Compute the convex hull, CH(Ti), of every tree Ti ∈ T ◮ If any two convex hulls overlap, replace them with their

convex hull

◮ Repeat until all convex hulls computed thusly are disjoint ◮ Resulting set of convex polygons is the hull-cover of T

slide-10
SLIDE 10

The hull-cover

slide-11
SLIDE 11

The hull-cover

slide-12
SLIDE 12

The hull-cover

slide-13
SLIDE 13

The hull-cover

slide-14
SLIDE 14

The hull-cover

slide-15
SLIDE 15

Approximation

Does this approximate the coverage?

◮ A terrible approximation (for already hard inputs) ◮ A great approximation (for natural inputs)

slide-16
SLIDE 16

Computing the hull-cover

Challenges:

◮ Finding pairwise intersection is fairly expensive ◮ Computing convex hulls is fairly expensive

slide-17
SLIDE 17

Weakly Disjoint Polygons

Let a weakly disjoint pair of convex polygons P, Q be a pair of convex polygons such that P \ Q and Q \ P are both connected sets of points, and P does not share a vertex with Q.

slide-18
SLIDE 18

Weakly Disjoint Polygons

A pair of polygons that are weakly disjoint, but not disjoint

slide-19
SLIDE 19

Weakly Disjoint Polygons

A pair of polygons that are not weakly weakly disjoint

slide-20
SLIDE 20

Weakly Disjoint Polygons

Lemma

If two convex polygons P, Q are weakly disjoint, then their boundaries intersect at at most two points.

slide-21
SLIDE 21

Weakly Disjoint Polygons

slide-22
SLIDE 22

Weakly Disjoint Polygons

slide-23
SLIDE 23

Weakly Disjoint Polygons

slide-24
SLIDE 24

Weakly Disjoint Polygons

slide-25
SLIDE 25

Weakly Disjoint Polygons

Lemma

If two convex polygons P, Q are weakly disjoint, but not disjoint, then one contains a vertex of the other.

slide-26
SLIDE 26

Weakly Disjoint Polygons

slide-27
SLIDE 27

Lemma

The convex hulls of two disjoint trees are weakly disjoint.

slide-28
SLIDE 28

Weakly Disjoint Polygons

slide-29
SLIDE 29

Blocked or Nested

Lemma

Assume R and S are two non-crossing trees whose convex hulls

  • intersect. Then the convex hull of one is strictly inside the other,
  • r there exists a pair of adjacent vertices on the convex hull of one

whose visibility is blocked by the other tree.

slide-30
SLIDE 30

Blocked or Nested

slide-31
SLIDE 31

Shoot and Insert

slide-32
SLIDE 32

Shoot and Insert

Ishaque et al. 2012: n pairwise disjoint polygonal obstacles can be preprocessed in O(n log n) time and space to support m permanent ray shootings in O((n + m) log2 n + m log m) time

slide-33
SLIDE 33

Algorithm

slide-34
SLIDE 34

Algorithm

slide-35
SLIDE 35

Algorithm

slide-36
SLIDE 36

Algorithm

1

slide-37
SLIDE 37

Algorithm

1 2

slide-38
SLIDE 38

Algorithm

1 2 3

slide-39
SLIDE 39

Algorithm

1 2 4 3

slide-40
SLIDE 40

Algorithm

1 2 4 3 5

slide-41
SLIDE 41

Algorithm

1 2 4 3 5 6

slide-42
SLIDE 42

Algorithm

1 2 4 3 5 6 7

slide-43
SLIDE 43

Algorithm

1 2 4 3 5 6 7 8

slide-44
SLIDE 44

Algorithm

1 2 4 3 5 6 7 8 9

slide-45
SLIDE 45

Algorithm

slide-46
SLIDE 46

Algorithm

slide-47
SLIDE 47

Analysis

O(n log2 n) time O(n log n) space

slide-48
SLIDE 48

The End

Thank you! Questions?