Tools from Computational Geometry - PowerPoint PPT Presentation

About This Presentation
Title:

Tools from Computational Geometry

Description:

Gauss: 17-gon. Gauss: 17-gon. Constructing Regular N-gons. Hermes (1879) 65537 ... Gauss Fermat primes 2. 2. k. can't do heptagons 1. proof covers. a gym ... – PowerPoint PPT presentation

Number of Views:34
Avg rating:3.0/5.0
Slides: 166
Provided by: BernardC8
Category:

less

Transcript and Presenter's Notes

Title: Tools from Computational Geometry


1
Tools from Computational Geometry
  • Bernard Chazelle
  • Princeton University

Tutorial FOCS 2005
2
Tools from Computational Geometry
  • Bernard Chazelle
  • Princeton University

Tutorial FOCS 1905
3
(No Transcript)
4
Ruler Compass Algorithms
5
Gauss 17-gon
6
Gauss 17-gon
7
Constructing Regular N-gons
k
2
Gauss Fermat primes 2
1
3 folklore
5 antiquity
17 Gauss (1796)
257 Richelot (1832)
65537 Hermes (1879)
cant do heptagons
proof coversa gym
Hilbert proved lower bounds on number of steps
8
Tools from Computational Geometry
  • Bernard Chazelle
  • Princeton University

Tutorial FOCS 2005
9
algorithmic
TOOLS FROM COMPUTATIONAL GEOMETRY
analytical
10
1 Algorithmic tools
geometric divide conquer
old style
11
Voronoi Diagram
12
Voronoi Diagram
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
Works well also for convex hulls, nearest
neighbors 3,6
18
Works not so well for multidimensional searching
quadtrees, kd-trees highly sub-optimal
19
yes
Hopcrofts problem
Any point/line incidence?
N points and N lines
20
Naïve divide conquer
21
Point location in line arrangement
O(N logN) time
22

3/2
O(N ) time
23
1 Algorithmic tools
geometric divide conquer
old style
24
1 Algorithmic tools
geometric divide conquer
new style
25
Spanning path thm
2, p.123
26
N points
27
Optimal
for any line
number of intersections O( )
N points
28
Often, the number of simple polygons is
exponential.
29
Often, the number of simple polygons is
exponential.
Sometimes, its unique
30
Often, the number of simple polygons is
exponential.
Sometimes, its unique
31
SPANNING PATH THEOREM
for any line
number of intersections O( )
N points
32
Proof
33
SPANNING PATH THEOREM
for random line
number of intersections O( )
N points
34
Join two closest points remove repeat
35
(No Transcript)
36
for random line
number of intersections O( )
37
Difficulty 1 Produces a matching, not a simple
polygon
38
Matching ? Tree
39
Remove each edge and one of its adjacent vertices
40
(No Transcript)
41
(No Transcript)
42
(No Transcript)
43
(No Transcript)
44
(No Transcript)
45
(No Transcript)
46
(No Transcript)
47
(No Transcript)
48
for random line
number of intersections O(
) O( )
49
Tree ? Hamiltonian Circuit
50
(via DFS)
51
Hamiltonian Circuit ? Simple Polygon
52
(via edge switching)
53
Simple Polygon
54
for random line
number of intersections O( )
55
Change definition of randomness
56
New definition A random line joins 2 of the N
points picked at random.
57
Next goal A random line cuts O( ) edges
58
Euclidean is wrong metric
59
b
pick random pair
a
prob line(random pair) cuts ab
New metric d(a,b)
60
b
pick random pair
a
New metric has dimension 2
61
This ensures that a random line cuts O( )
edges
62
Final goal A line between any 2 points
picked at cuts O( ) edges
63
b
a
double probability of picking pair
Increase d(a,b) multiplicatively (as in BOOSTING )
64
QED
ANY line cuts O( ) edges
65
Spanning Path Theorem
Application 1
66
APPLICATION SIMPLEX RANGE COUNTING 2, p.214
6
How many points in the triangle?
67
Ray shooting in O(log N) time
68
Ray shooting in O(log N) time
69
APPLICATION SIMPLEX RANGE COUNTING
How many points in the triangle?
70
APPLICATION SIMPLEX RANGE COUNTING
QED

Triangle range counting in O( ) time
71
Spanning Path Theorem
Application 2
72
-APPROXIMATION (for triangles)
73
Subset A such that
any triangle T
74
Subset A such that
any triangle T
75
Subset A such that
any triangle T
76

-4/3
Size of A is O( ) Independent of N
Better than random!
77
Proof
78
Keep every other edge
79
Keep every other edge
80
Color randomly red/blue
81
discrepancy within any triangle ?
82
discrepancy within any triangle 1
83
discrepancy within any triangle
84
discrepancy within any triangle
Optimal
85
Remove red points
86
Recolor
87
Remove red points
88

-4/3
Repeat until O( ) points left
89
(No Transcript)
90
(No Transcript)
91
Subset A such that
any triangle T
92
A is called an -approximation (for
triangles)

-4/3
Its size O( ) is independent of N

A is computable in poly(N)
93
- approximation
94
Set System (X, )
X
2
VC dim max shattered set
95
VC dim 3
96
Unbounded VC dimension
97
Bounded VC dim implies that
Given any Y X, number of distinct sets Y
S, where S , is O(Y )
c
primal shatter exponent
easy to determine
Dual set system ? dual shatter exponent
98
VC dim ?
(points, ellipsoids) in d-dim
99
(points, ellipsoids) in d-dim
by Thom-Milnor
d
dual shatter function O(N )
100
Set System (V, S)
d VC dimension
or primal/dual shatter exponent
Size of -approximation is

optimal
-22/(d1)
O( )
2, p.179
101
Set System (V, S)
Size of -approximation is

-2
O( )
Computable in O(N) poly( )
Huge!
In comp geom, random bits help with simplicity
but not with complexity
2, p.175
102
- cutting
103
-cutting
N lines
104
2, p.204
105
Application Hopcrofts problem
2, p.213
106
(No Transcript)
107
Dualize point (a,b)
line aXbY1
108
Recurse
109
Hopcrofts problem
110
Product sampling
111
Standard sampling
How many lines?
N lines
112
Set System (X, )
X set of N lines

113
easy to do with an -approximation
How many lines?
N lines
114
Product sampling
2, p.183
How many vertices?
N lines
115
Unbounded VC-dim yet can be done!
How many vertices?
N lines
116
Sampling at work
117
2, p.283
d
Convex hull of N points in R
Optimal
118
d
Voronoi diagram of N points in E
http//www.math.psu.edu/qdu/Res/Pic/gulf.jpg
Optimal
119
Linear programming in linear time with fixed
number of variables
1, p.82
LP-type programming in linear time with fixed
number of variables
120
Linear programming in linear time with fixed
number of variables
LP-type programming in linear time with fixed
number of variables
2, p.307
121
d
Smallest ellipsoid enclosing N points in R
in O (N) time!
d
2, p.313
122
The CoreSet
Sampling tool for approximate geometric
optimization
0
123
2 Analytical tools
2.1 randomized scaling
2.2 backward analysis
124
2 Analytical tools
2.1 randomized scaling 2.1.2
k-sets 2.1.2 crossing lemma2.2
backward analysis
125
(No Transcript)
126
2 Analytical tools
2.1 randomized scaling 2.1.2
k-sets 2.1.2 crossing lemma2.2
backward analysis
127
K-SETS
128
f (i,j) iltj and n(i,j) k
k
p
i
p
j
n(i,j) 9
129
f 6
0
130
4, p.141
Theorem
131
X 3
132
Theorem
133
Theorem
QED
134
2 Analytical tools
2.1 randomized scaling 2.1.2
k-sets 2.1.2 crossing lemma2.2
backward analysis
135
The Crossing Lemma
4, p.55
136
Pick each vertex with prob p
Set p 4n/m
QED
137
4/3
Corollary
point/line incidences O(N )
138
4/3
Corollary
unit-distance pairs O(N )
139
2 Analytical tools
2.1 randomized scaling 2.1.2
k-sets 2.1.2 crossing lemma2.2
backward analysis
140
Linear Programming
1, p76
141
(No Transcript)
142
(No Transcript)
143
(No Transcript)
144
(No Transcript)
145
(No Transcript)
146
(No Transcript)
147
(No Transcript)
148
(No Transcript)
149
N constraints and d variables
150
N constraints and d variables
151
Geometrization



152
Planar Graph
153
Planar Separator Theorem
Remove O( ) vertices ? (1/3-2/3) cut
154
A geometric proof



5, p96
155
(No Transcript)
156
(No Transcript)
157
(No Transcript)
158
Stereographic lifting
159
(No Transcript)
160
(No Transcript)
161
Centerpoint Theorem
(1/4,3/4) cut in 3D
(1/3,2/3) cut
162
Can assume centerpoint is center of sphere
163
Can assume centerpoint is center of sphere
164
Thanks!



165
BIBLIOGRAPHY
The results mentioned in this tutorial, as well
as the history behind them, are discussed in
detail in the surveys and monographs below.


Write a Comment
User Comments (0)
About PowerShow.com