• Keine Ergebnisse gefunden

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

N/A
N/A
Protected

Academic year: 2022

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

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

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

Geometric Structures II

University of Bonn, Department of Computer Science I

Written solutions have to be prepared until Tuesday 13th of May, 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 10: Planar Convex Hull by Conflict Lists (4 Points) Given a setN ofnpoints in the plane, a convex hullH(N) ofN is a minimal convex polygon containingN, LetS1, S2, . . . , Sn be a random sequence ofN, and let Ni be {S1, S2, . . . , Si}. Please develop a randomized algorithm to construct H(N) by computing H(N3), H(N4), . . . , H(Nn) iteratively using the conflict lists. In other words, for i≥3, obtain H(Ni+1) from H(Ni) by adding Si+1.

1. Describe the insertion ofSi+1

2. Define a conflict relation between an edge of H(Ni) and a point in N \Ni

3. Prove the expected cost of insertingSi+1to beO(i+1n ) and the expected cost of construction H(N) to be O(nlogn)

(2)

Exercise 11: Triangulation (History Graph) (4 Points) Given a setN ofn points in the plane, a triangulationH(N) ofN is a maxi- mal planar straight-light graph, i.e., every edge is a straight-line segment, and no edge can be added to main the planarity. Let S1, S2, . . . , Sn be a random sequence of N, and let Ni be {S1, S2, . . . , Si}. Please develop a randomized algorithm to construct H(N) by computing H(N3), H(N4), . . . , H(Nn) iter- atively using the history graph. In other words, for i 3, obtain H(Ni+1) from H(Ni) by addingSi+1.

1. Describe the parent and child relation in the history graph.

2. Describe the insertion ofSi+1 using the history graph.

3. Prove the expected cost of insertingSi+1to beO(i+1n ) and the expected cost of construction T(N) to be O(nlogn)

Exercise 12: Planar Convex Hull by History Graph (4 Points) Given a setN ofnpoints in the plane, a convex hullH(N) ofN is a minimal convex polygon containingN, LetS1, S2, . . . , Sn be a random sequence ofN, and let Ni be {S1, S2, . . . , Si}. Please develop a randomized algorithm to construct H(N) by computing H(N3), H(N4), . . . , H(Nn) iteratively using the history graph. In other words, for i≥3, obtainH(Ni+1) fromH(Ni) by adding Si+1.

1. Describe the parent and child relation in the history graph.

2. Describe the insertion ofSi+1 using the history graph.

3. Prove the expected cost of insertingSi+1to beO(i+1n ) and the expected cost of construction T(N) to be O(nlogn)

2

Referenzen

ÄHNLICHE DOKUMENTE

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

Please describe the probability function Pr by illustrating the proba- bility for the elements in the sample space4. (just one element for

Discrete and Computational Geometry, SS 14 Exercise Sheet “2”: Chan’s technique/Lower bound University of Bonn, Department of Computer Science I.. • Written solutions have to

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