• Keine Ergebnisse gefunden

Discrete and Computational Geometry, WS1415 Exercise Sheet “1”: Randomized Algorithms for Geometric Structures I University of Bonn, Department of Computer Science I

N/A
N/A
Protected

Academic year: 2022

Aktie "Discrete and Computational Geometry, WS1415 Exercise Sheet “1”: Randomized Algorithms for Geometric Structures I University of Bonn, Department of Computer Science I"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Discrete and Computational Geometry, WS1415 Exercise Sheet “1”: Randomized Algorithms for

Geometric Structures I

University of Bonn, Department of Computer Science I

• Written solutions have to be prepared untilTuesday 21th of October, 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 1: Probability Space (4 Points)

Consider a standard 52-card deck of poker cards. Assume we do not distin- guish cards by their suits, i.e., cards with the same number are identical. We want to select 5 cards from the deck. Please define the probability space as follows.

1. Please describe the sample space Ω. (The outcomes can be classified into 6 categories, and each category has different number of elements.) 2. Please describe the family F of events, e.g., the total number.

3. Please describe the probability function Pr by illustrating the proba- bility for the elements in the sample space. (just one element for each category)

4. Let X be the random variable representing the sum of 5 cards. Please compute the expectation of X.

(2)

Exercise 2: Average Complexity of Sorting (4 Points) Given a set N of n real numbers, please analyze the average complexity for the following sorting algorithms over all the n! permutation sequences ofN.

• Insertion Sort

• Merge Sort

• Quick Sort (always select the first element)

Exercise 3: Vertical Trapezoidal Decomposition (4 Points) Given a set N of n line segments with a total number k of intersection in the plane, let S1, S2, . . . , Sn be a random sequence of N, and let Ni be {S1, S2, . . . , Si}. General Position Assumption: No two endpoints in N share the same x-coordinate. Please prove the following.

1. The vertical trapezoidal decompositionH(N) ofN hasO(n+k) trape- zoids (faces) even if more than two line segments can intersects at the same point.

2. The expected number of trapezoids in H(Ni) is O(i+ki2/n2). (Hint:

the expected number of intersections)

2

Referenzen

ÄHNLICHE DOKUMENTE

[r]

Discrete and Computational Geometry, WS1516 Exercise Sheet “3”: Graph and Geometric Detour University of Bonn, Department of Computer Science I.. • Written solutions have to be

Discrete and Computational Geometry, WS1516 Exercise Sheet “7”: Convexity.. University of Bonn, Department of Computer

Given a set N of n points in the plane, a triangulation T (N ) of N is a maxi- mal planar straight-light graph, i.e., every edge is a straight-line segment, and no edge can be added

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

Exercise 16: Randomized Incremental Algorithm for Abstract Voronoi Diagrams (History Graph) (4 Points) Consider an admissible bisecting curve system (S, J ), and make a general

• Present an argument that the Minkowski Theorem (Theorem 7) actu- ally says that 2 lattice points different from the origin will be inside the set C.. • Argue that the boundedness

Discrete and Computational Geometry, SS 14 Exercise Sheet “10”: Spanners and WSPDs.. University of Bonn, Department of Computer