On the Number of Delaunay Triangles occurring in all Contiguous - - PowerPoint PPT Presentation

on the number of delaunay triangles occurring in all
SMART_READER_LITE
LIVE PREVIEW

On the Number of Delaunay Triangles occurring in all Contiguous - - PowerPoint PPT Presentation

On the Number of Delaunay Triangles occurring in all Contiguous Subsequences Felix Weitbrecht Department of Computer Science Universit at Stuttgart joined work with S. Funke Motivation Subcomplexes of the Delaunay triangulation useful


slide-1
SLIDE 1

On the Number of Delaunay Triangles

  • ccurring in all Contiguous Subsequences

Felix Weitbrecht Department of Computer Science Universit¨ at Stuttgart joined work with S. Funke

slide-2
SLIDE 2

Motivation

  • Subcomplexes of the Delaunay triangulation useful for

representing the shape of objects from discrete samples – α-shapes, β-skeleton, the crust

slide-3
SLIDE 3

Motivation

  • Subcomplexes of the Delaunay triangulation useful for

representing the shape of objects from discrete samples – α-shapes, β-skeleton, the crust

  • Restrict temporal samples to shorter time intervals

– α-shapes used to visualize the regions of storm events

[Bonerath et al. ’19]

slide-4
SLIDE 4

Motivation

  • Subcomplexes of the Delaunay triangulation useful for

representing the shape of objects from discrete samples – α-shapes, β-skeleton, the crust

  • Restrict temporal samples to shorter time intervals

– α-shapes used to visualize the regions of storm events

  • Precompute all Delaunay triangles occurring in all

contiguous subsequences & index them w.r.t. time, possibly some other parameter (α value, ...) for faster retrieval

[Bonerath et al. ’19]

slide-5
SLIDE 5

Some Delaunay Triangulations

  • P = {p1, p2, . . . , pn}, Pi,j := {pi, pi+1, . . . , pj}
  • Example: Incremental construction of DT(P) via the

sequence DT(P1,3), DT(P1,4), . . . DT(P1,n)

slide-6
SLIDE 6

Some Delaunay Triangulations

  • P = {p1, p2, . . . , pn}, Pi,j := {pi, pi+1, . . . , pj}
  • Example: Incremental construction of DT(P) via the

sequence DT(P1,3), DT(P1,4), . . . DT(P1,n) DT(P1,3) p1 p2 p3

slide-7
SLIDE 7

Some Delaunay Triangulations

  • P = {p1, p2, . . . , pn}, Pi,j := {pi, pi+1, . . . , pj}
  • Example: Incremental construction of DT(P) via the

sequence DT(P1,3), DT(P1,4), . . . DT(P1,n) DT(P1,4) p1 p2 p3 p4

slide-8
SLIDE 8

Some Delaunay Triangulations

  • P = {p1, p2, . . . , pn}, Pi,j := {pi, pi+1, . . . , pj}
  • Example: Incremental construction of DT(P) via the

sequence DT(P1,3), DT(P1,4), . . . DT(P1,n) DT(P1,5) p1 p2 p3 p4 p5

slide-9
SLIDE 9

Some Delaunay Triangulations

  • P = {p1, p2, . . . , pn}, Pi,j := {pi, pi+1, . . . , pj}
  • Example: Incremental construction of DT(P) via the

sequence DT(P1,3), DT(P1,4), . . . DT(P1,n) DT(P2,5) p2 p3 p4 p5 p1

slide-10
SLIDE 10

Some Delaunay Triangulations

  • P = {p1, p2, . . . , pn}, Pi,j := {pi, pi+1, . . . , pj}
  • Example: Incremental construction of DT(P) via the

sequence DT(P1,3), DT(P1,4), . . . DT(P1,n) DT(P2,5) p2 p3 p4 p5 p1

  • Ti,j: triangles of DT(Pi,j)
  • T :=

i<j Ti,j

  • |T| = ?
slide-11
SLIDE 11

Some Delaunay Triangulations

  • P = {p1, p2, . . . , pn}, Pi,j := {pi, pi+1, . . . , pj}
  • Another example with |T| ∈ Θ(n2)

p1p2p3 pn/2 p n

2 +1

pn p n

2 +2

slide-12
SLIDE 12

What is the expected number of Delaunay triangles in contiguous subsequences for arbitrary point sets P

  • rdered uniformly at random?
slide-13
SLIDE 13

Counting Delaunay Edges and Triangles

  • Let ET := {e | ∃ t ∈ T : e edge of t}
  • Assume non-degeneracy of P

– No 4 co-circular points, no 3 co-linear points

  • Proof:
  • 1. Bound the expected number of Delaunay edges
  • 2. Show linear dependence between the number of

Delaunay triangles and Delaunay edges

slide-14
SLIDE 14

Lemma 1: Any e = {pi, pj} ∈ ET appears in DT(Pi,j)

There exists some triangle t ∈ T which uses e, so for suitable a ≤ i, b ≥ j, e appears in DT(Pa,b): DT(Pa,b) pj pi

slide-15
SLIDE 15

Lemma 1: Any e = {pi, pj} ∈ ET appears in DT(Pi,j)

There exists some triangle t ∈ T which uses e, so for suitable a ≤ i, b ≥ j, e appears in DT(Pa,b): Pa,b pj pi

slide-16
SLIDE 16

Lemma 1: Any e = {pi, pj} ∈ ET appears in DT(Pi,j)

There exists some triangle t ∈ T which uses e, so for suitable a ≤ i, b ≥ j, e appears in DT(Pa,b): Pi,j pj pi

slide-17
SLIDE 17

Lemma 1: Any e = {pi, pj} ∈ ET appears in DT(Pi,j)

There exists some triangle t ∈ T which uses e, so for suitable a ≤ i, b ≥ j, e appears in DT(Pa,b): DT(Pi,j) pj pi

⇒ e ∈ DT(Pi,j)

slide-18
SLIDE 18

Lemma 2: For j > i + 1: Pr[e ∈ DT(Pi,j)] <

6 j−i

  • DT(Pi,j) is a planar graph with j − i + 1 nodes

Euler’s formula: ≤ 3(j − i + 1) − 6 edges

slide-19
SLIDE 19

Lemma 2: For j > i + 1: Pr[e ∈ DT(Pi,j)] <

6 j−i

  • DT(Pi,j) is a planar graph with j − i + 1 nodes

Euler’s formula: ≤ 3(j − i + 1) − 6 edges

  • DT(Pi,j) does not depend on ordering of points within Pi,j
slide-20
SLIDE 20

Lemma 2: For j > i + 1: Pr[e ∈ DT(Pi,j)] <

6 j−i

  • DT(Pi,j) is a planar graph with j − i + 1 nodes

Euler’s formula: ≤ 3(j − i + 1) − 6 edges

  • DT(Pi,j) does not depend on ordering of points within Pi,j
  • All points in Pi,j are equally likely to be pi/pj
slide-21
SLIDE 21

Lemma 2: For j > i + 1: Pr[e ∈ DT(Pi,j)] <

6 j−i

  • DT(Pi,j) is a planar graph with j − i + 1 nodes

Euler’s formula: ≤ 3(j − i + 1) − 6 edges

  • DT(Pi,j) does not depend on ordering of points within Pi,j
  • All points in Pi,j are equally likely to be pi/pj
  • So choosing pi and pj out of Pi,j is the same as choosing
  • ne edge (amongst all

j−i+1

2

  • possible edges) in a graph

with j − i + 1 nodes and ≤ 3(j − i + 1) − 6 edges

slide-22
SLIDE 22

Lemma 2: For j > i + 1: Pr[e ∈ DT(Pi,j)] <

6 j−i

  • DT(Pi,j) is a planar graph with j − i + 1 nodes

Euler’s formula: ≤ 3(j − i + 1) − 6 edges

  • DT(Pi,j) does not depend on ordering of points within Pi,j
  • All points in Pi,j are equally likely to be pi/pj
  • So choosing pi and pj out of Pi,j is the same as choosing
  • ne edge (amongst all

j−i+1

2

  • possible edges) in a graph

with j − i + 1 nodes and ≤ 3(j − i + 1) − 6 edges ⇒ Pr[e ∈ DT(Pi,j)] ≤ 3(j−i+1)−6 (

j−i+1 2

) <

6 j−i

slide-23
SLIDE 23

Lemma 3: The expected size of ET is Θ(n log n)

Lower bound:

  • Within P1,1, ..., P1,n, p1’s nearest neighbor changes

Θ(log n) times in expectation – Applies to all pi

  • Nearest neighbor graph is a subgraph of the Delaunay

triangulation ⇒ E[|ET |] ∈ Ω(n log n)

slide-24
SLIDE 24

Lemma 3: The expected size of ET is Θ(n log n)

Upper bound: Use linearity of expectation to sum over all potential edges of ET

  • Edges {pi, pi+1} always exist
  • Other edges {pi, pj} exist with probability <

6 j−i

E[|ET |] =

n−1

  • i=1

n

  • j=i+1

Pr[{pi, pj} ∈ ET ] ≤

n−1

  • i=1
  • 1 +

n

  • j=i+2

6 j − i

  • = (n − 1) + 6

n−1

  • i=1

n−i

  • j=2

1 j ≤ (n − 1) + 6

n−1

  • i=1

Hn = O(n log n)

slide-25
SLIDE 25

Delaunay edges used by many Delaunay triangles

p1 p2 DT(P1,3)

slide-26
SLIDE 26

Delaunay edges used by many Delaunay triangles

p1 p2 DT(P1,4)

slide-27
SLIDE 27

Delaunay edges used by many Delaunay triangles

p1 p2 DT(P1,5)

slide-28
SLIDE 28

Delaunay edges used by many Delaunay triangles

p1 p2 DT(P1,5) → Edge {p1, p2} used by many Delaunay triangles

slide-29
SLIDE 29

Lemma 4: |T| ∈ Θ(|ET|) for arbitrary orderings of P

  • For each triangle in T, at most 3 edges exist in ET

⇒ |ET | ≤ 3|T|

  • For upper bound on edges, charge triangles to edges:
  • Delaunay triangle papbpc (a < b < c) exists in DT(Pa,c)
  • In DT(Pa,c), at most one other triangle uses edge {pa, pc}

⇒ Charging T’s triangles papbpc to {pa, pc} ensures at most two triangles are charged to each edge in ET ⇒ |T| ≤ 2|ET |

slide-30
SLIDE 30

Putting it all together

What is the expected number of Delaunay triangles in contiguous subsequences for arbitrary point sets P

  • rdered uniformly at random?
slide-31
SLIDE 31

Putting it all together

What is the expected number of Delaunay triangles in contiguous subsequences for arbitrary point sets P

  • rdered uniformly at random?

E[|ET |] = Θ(n log n) and |T| ∈ Θ(|ET |) ⇒ E[|T|] = Θ(n log n)

slide-32
SLIDE 32

Experimental results & data

n |

j≤n T1,j|

|T| T computation time 215 196,168 2,860,956 6,309 ms 216 392,592 6,267,247 14,229 ms 217 785,879 13,622,094 32,817 ms 218 1,572,292 29,425,885 70,545 ms 219 3,144,770 63,210,634 155,370 ms 220 6,290,562 135,134,028 347,186 ms 221 12,581,989 287,719,166 771,705 ms n points sampled from the unit square, averaged over 20 runs

slide-33
SLIDE 33

On the Number of Delaunay Triangles

  • ccurring in all Contiguous Subsequences

Felix Weitbrecht Department of Computer Science Universit¨ at Stuttgart about work with S. Funke

slide-34
SLIDE 34

More data

n |T| T time |

j≤n T1,j|

T1,n time 215 2,860,956 6,309 ms 196,168 260 ms 216 6,267,247 14,229 ms 392,592 745 ms 217 13,622,094 32,817 ms 785,879 1,779 ms 218 29,425,885 70,545 ms 1,572,292 4,068 ms 219 63,210,634 155,370 ms 3,144,770 9,008 ms 220 135,134,028 347,186 ms 6,290,562 20,374 ms 221 287,719,166 771,705 ms 12,581,989 44,082 ms