• Keine Ergebnisse gefunden

(8+1 points) For a set S of n points in Rd define X(S) to be the sum of all interpoint distances, i.e., X(S) =P {p,q}⊂Sδ(p, q)

N/A
N/A
Protected

Academic year: 2021

Aktie "(8+1 points) For a set S of n points in Rd define X(S) to be the sum of all interpoint distances, i.e., X(S) =P {p,q}⊂Sδ(p, q)"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Computational Geometry, SS 2020 Assignment 4

Due: Wednesday 24.6, 8:00 (morning!) CET

Send your solutions in pdf format to:

andre.nusser@mpi-inf.mpg.de

Problem 1. (8 points)

Computing aθ-graph in the plane reduces to finding for each point p in input set S its partner ku(p) for some direction u. (Recall that ku(p) is the point q ∈ S \ {p}

with ∠(pq, u)~ ≤φ =θ/2 and whose projection of onto the ray Ru(p) is closest to p.) Give an algorithm that given S and u produces for each p ∈ S its partner ku(p) provided it exists. Your algorithm should run in O(nlogn) time.

Hint: You may find it easier to compute the inverse of the function ku(·).

Problem 2. (8+1 points)

For a set S of n points in Rd define X(S) to be the sum of all interpoint distances, i.e., X(S) =P

{p,q}⊂Sδ(p, q). Design an efficient algorithm for approximating X(S),

i.e., givenS and parameterε the algorithm should output a numberY withX(S)≤ Y ≤(1 +ε)X(S).

Show that you can compute the exact sum of all squared distances in less time.

Problem 3. (5+1 points)

Let T be the Delaunay triangulation of some point set S in the plane. Let D be some disk and let TD be the subgraph of T that is induced by the vertex set S∩D.

(“Induced” here means that TD contains exactly those edges of T that have both endpoints inS∩D.) Prove that TD is a connected graph.

Is the same statement true if instead of the Delaunay triangulation you are dealing with the graph formed by the vertices and edges of a Voronoi diagram?

Problem 4. (6 points)

In a point set P ⊆ R2 the nearest neighbor of p ∈ P is the point p0 ∈ P \ {p} for which dist(p, p0) is minimized. GivenP, compute the nearest neighbor for eachp∈P inO(nlogn) time.

Problem 5. (8 points)

In the L1 metric (a.k.a. Manhattan or taxicab metric), the distance from (x, y) to (x0, y0) is |x−x0|+|y−y0|. Show that the L1 Voronoi diagram of a set of n points (as a subdivision of R2 into polygons) has complexity O(n).

Problem 6. (10 points)

Given a subdivision of R2 into convex shapes of total complexity n (with a doubly connected edge list), decide in O(n) time if it is the Voronoi diagram of some point setP, and if so, output P.

Referenzen

ÄHNLICHE DOKUMENTE

Give a classification (with proof) of the primes of this form, and then examine (in terms of the prime factors of n) which integers n are of this form.. Hand in solutions to

romanistik.uni-muenchen.de Mit deiner Teilnahme willigst du ein, dass dein/e TutorIn sich Gesprächsnotizen macht und diese auch für den Austausch mit den anderen TutorInnen

Fakultät für Mathematik Institut für Angewandte und Numerische

In the economy the families, investors and governments who make the higher number of ‘right’ choices in market terms are the ones who win a bigger portion of the stakes

First, the European integration process has important implications for national parties and party systems in the aspiring countries of the region, even if for all intents

Dem Einheitsquadrat soll ein gleichseitiges Sechseck gemäß Abbildung 1 einbeschrie-

Return of the exercise sheet: 17.Oct.2019 during the exercise

Return of the exercise sheet: 25.Oct.2018 during the exercise