• Keine Ergebnisse gefunden

Randomized Technique

N/A
N/A
Protected

Academic year: 2022

Aktie "Randomized Technique"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Discrete and Computational Geometry, WS1415 Exercise Sheet “5”: Dynamic Settings and Chan’s

Randomized Technique

University of Bonn, Department of Computer Science I

• Written solutions have to be prepared until Tuesday 18th of Novem- ber 14:00 pm. There will be a letterbox in the LBH building.

• You may work in groups of at most two participants.

• Please contact Hilko Delonge, hilko.delonge@uni-bonn.de, if you want to participate and have not yet signed up for one of the exercise groups.

• If you are not yet subscribed to the mailing list, please do so at https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/lc-dcgeom

Exercise 13: Dynamic Setting for Trapezoidal Decomposition (4 Points)

Consider a setN ofnsegments, letπbe a random permutation (S1, S2, . . . , Sn) of N, and let H(π) be the history graph with respect to π, i.e., the set of trapezoids created during the incremental construction following π. Assume we swap the orders ofSiandSi+1to get a new permutationπ0 = (S1, . . . , Si−1, Si+1, Si, Si+2, . . . Sn) , and letH(π0) be the history graph with respect toπ0.

1. Please describe the difference between H(π) and H(π0)

2. Please analyse|H(π)⊕H(π0)|. (A⊕B means A\B∪B \A).

Exercise 14: Random-Min (4 Points)

The following algorithm selects the minimum ofrnumbers,A[1], A[2], . . . , A[r].

Algorithm RAND-MIN

1. randomly pick a permutation hi1, . . . , iri of h1, . . . , ri

(2)

2. t ← ∞

3. for k = 1, . . . , r do

4. if A[ik]< t then (decision) 5. t ←A[ik] (evaluation) 6. return t

Please derive the expected number of times that step 5 will be performed.

Exercise 15: Chan’s Randomized Technique (4 Points) Consider a function T(·) satisfying the following recurrence:

T(n) = (lnr+ 1)T(dαne) +O(D(n)),

where r, α < 1, and > 0 are constants and D(n) is a function such that D(n)/n is monotone increasing in n. Please prove that if (lnr+ 1)α <1, T(n)≤C·D(n), where C is a constant depending on r,α, and.

2

Referenzen

ÄHNLICHE DOKUMENTE

• E.G.: Given a set I of points in the plane and a value k , does there exist a spanning tree connecting all points in I whose length is at most k..

We make a general position assumption that no more than three points of S are located on the same circle.. Please explain that the number of vertices will not increase without

Discrete and Computational Geometry, WS1516 Exercise Sheet “9”: Convex Polytope.. University of Bonn, Department of Computer

Exercise 10: 3D Convex Hull by Conflict Lists 6 points Given a set N of n half-spaces each of which is defined by a hyperplane in the 3D space, a 3D convex hull H(N ) of N is the

• Construct a planar graph G where the maximum graph-theoretic dila- tion of G is attained by a pair of non-visible vertices. • Recall the definition of geometric dilation of a

The Karlsruhe metric, also known as the Moscow metric, is a distance mea- sure in a radial city where there is a city center, and roads either circumvent the center or are extended

Discrete and Computational Geometry, SS 14 Exercise Sheet “4”: Randomized Algorithms for.. Geometric

Exercise 13: 3D Convex Hull by Conflict Lists (4 Points) Given a set N of n half-spaces each of which is defined by a hyperplane in the 3D space, a 3D convex hull H(N ) of N is