Algorithmische Geometrie

Ähnliche Dokumente
Algorithms for graph visualization

Vorlesung Algorithmische Geometrie Konvexe Hülle im R 3

Teil 2.2: Lernen formaler Sprachen: Hypothesenräume

Algorithmische Geometrie 1. Einführung

Algorithmen und Datenstrukturen. und. Programmieren in Haskell

Mathematics (M4) (English version) ORIENTIERUNGSARBEIT (OA 11) Gymnasium. Code-Nr.:

Geometrie I. Sebastian Redinger Informatik 2 Programmiersysteme Martensstraße Erlangen

Algorithmen und Datenstrukturen

Algorithmen und Datenstrukturen Wintersemester 2004/ November T(n) = T(n a) + T(a) + n

KURZANLEITUNG. Firmware-Upgrade: Wie geht das eigentlich?

TIn 1: Feedback Laboratories. Lecture 4 Data transfer. Question: What is the IP? Institut für Embedded Systems. Institut für Embedded Systems

PONS DIE DREI??? FRAGEZEICHEN, ARCTIC ADVENTURE: ENGLISCH LERNEN MIT JUSTUS, PETER UND BOB

Algorithmische Geometrie. Prof. Dr. Thomas Ottmann. Mitarbeit: PD Dr. Sven Schuierer Dr. Stefan Edelkamp

Im Original veränderbare Word-Dateien

Level 1 German, 2014

Punktlokalisierung. Dr. Martin Nöllenburg Vorlesung Algorithmische Geometrie INSTITUT FÜR THEORETISCHE INFORMATIK FAKULTÄT FÜR INFORMATIK

Geradenarrangements und Dualität von Punkten und Geraden

Algorithmen und Datenstrukturen

NVR Mobile Viewer for iphone/ipad/ipod Touch

Effiziente Algorithmen Übung 2

There are 10 weeks this summer vacation the weeks beginning: June 23, June 30, July 7, July 14, July 21, Jul 28, Aug 4, Aug 11, Aug 18, Aug 25

HIR Method & Tools for Fit Gap analysis

Programmier-Befehle - Woche 10

Level 2 German, 2015

CALCULATING KPI QUANTITY-INDEPENDENT ROUTE TIME

DIE NEUORGANISATION IM BEREICH DES SGB II AUSWIRKUNGEN AUF DIE ZUSAMMENARBEIT VON BUND LNDERN UND KOMMUNEN

aus Doktorarbeiten Anna Lena Birkmeyer Oktober 2016

Algorithmen und Datenstrukturen

Harry gefangen in der Zeit Begleitmaterialien

EVANGELISCHES GESANGBUCH: AUSGABE FUR DIE EVANGELISCH-LUTHERISCHE LANDESKIRCHE SACHSEN. BLAU (GERMAN EDITION) FROM EVANGELISCHE VERLAGSAN

FEM Isoparametric Concept

ZWISCHEN TRADITION UND REBELLION - FRAUENBILDER IM AKTUELLEN BOLLYWOODFILM (GERMAN EDITION) BY CHRISTINE STöCKEL

ETHISCHES ARGUMENTIEREN IN DER SCHULE: GESELLSCHAFTLICHE, PSYCHOLOGISCHE UND PHILOSOPHISCHE GRUNDLAGEN UND DIDAKTISCHE ANSTZE (GERMAN

Algorithmen und Datenstrukturen

NIKOTINSUCHT - DIE GROßE LüGE: WARUM RAUCHEN NICHT SüCHTIG MACHT UND NICHTRAUCHEN SO EINFACH SEIN KANN! (GERMAN EDITION)

Planning a trip to California

Directions. Trouble shooting

p^db=`oj===pìééçêíáåñçêã~íáçå=

Algorithmen und Datenstrukturen

Grundlagen: Algorithmen und Datenstrukturen

Lineares Programmieren

4. Bayes Spiele. S i = Strategiemenge für Spieler i, S = S 1... S n. T i = Typmenge für Spieler i, T = T 1... T n

Mitglied der Leibniz-Gemeinschaft

Fakultät III Univ.-Prof. Dr. Jan Franke-Viebach

Integer Convex Minimization in Low Dimensions

BIRTHDAY PRESENTS FOR GRANDMOTHERS

Lehrstuhl für Allgemeine BWL Strategisches und Internationales Management Prof. Dr. Mike Geppert Carl-Zeiß-Str Jena

Lesen Sie die Bedienungs-, Wartungs- und Sicherheitsanleitungen des mit REMUC zu steuernden Gerätes

Statistics, Data Analysis, and Simulation SS 2015

Sortierte Folgen 250

Fakultät III Univ.-Prof. Dr. Jan Franke-Viebach

3. Übungsblatt zu Algorithmen I im SoSe 2017

Was ist das? Wer an einem sonnigen Tag die runden Lichtflecken unter einem Baum einmal entdeckt hat, findet sie immer und überall wieder.

Algorithmen und Datenstrukturen

HTW IMI-B Informatik 1 Kara Worksheet 2 Seite: 1. Variables to store a true/false state: boolean movingright = true;

Uberblick 1. Kurzeste Wege 2. Sichtbarkeitsgraphen 3. Berechnung des Sichtbarkeitsgraphen 4. Kurzeste Wege fur polygonale Roboter 1

Level 1 German, 2012

GRIPS - GIS basiertes Risikoanalyse-, Informations- und Planungssystem

How to access licensed products from providers who are already operating productively in. General Information Shibboleth login...

Research Collection. Backward stochastic differential equations with super-quadratic growth. Doctoral Thesis. ETH Library. Author(s): Bao, Xiaobo

How to use the large-capacity computer Lilli? IMPORTANT: Access only on JKU Campus!! Using Windows:

Effiziente Algorithmen und Datenstrukturen I. Kapitel 9: Minimale Spannbäume

Quick Guide Home Network Mode

Algorithms & Datastructures Midterm Test 1

Algorithmen und Datenstrukturen (AuD) Prof. Dr. Claudia Eckert und Dr. Thomas Stibor

Level 2 German, 2013

NEWSLETTER. FileDirector Version 2.5 Novelties. Filing system designer. Filing system in WinClient

Übersicht. Berechnung der Potenz für zwei ganze Zahlen Klausuraufgabe SS 2010! Berechnung der Cosinus-Funktion Klausuraufgabe WS 2010/2011!

Algorithmen und Datenstrukturen

Unterspezifikation in der Semantik Hole Semantics

Arbeitsblatt Nein, Mann!

Automaten und Formale Sprachen Endliche Automaten und Reguläre sprachen

Parameter-Updatesoftware PF-12 Plus

Thema: Sonnenuhren (7.Jahrgangsstufe)

Approximations- und Online-Algorithmen

2.7.1 Inside-Test Konvexe Hülle Nachbarschaften Schnittprobleme

Rätsel 1: Buchstabensalat klassisch, 5 5, A C (10 Punkte) Puzzle 1: Standard As Easy As, 5 5, A C (10 points)

EXPERT SURVEY OF THE NEWS MEDIA

Algorithmische Geometrie 7. Punktsuche (Teil 2)

Software Maintenance. Program Slicing im Software Maintenance. Fehlerlokalisierung UNIV.-PROF. DIPL.-ING. DR. FRANZ WOTAWA

Musterlösung 3. D-MATH Algebra I HS 2015 Prof. Richard Pink. Faktorielle Ringe, Grösster gemeinsamer Teiler, Ideale, Faktorringe

SCHNELLES DENKEN, LANGSAMES DENKEN (GERMAN EDITION) BY DANIEL KAHNEMAN

Counting - Sort [ [ ] [ [ ] 1. SS 2008 Datenstrukturen und Algorithmen Sortieren in linearer Zeit

Spieltheorie I für VWL Midterm Name:... Matrikelnummer:...

DOWNLOAD. Englisch in Bewegung. Spiele für den Englischunterricht. Britta Buschmann. Downloadauszug aus dem Originaltitel:

Grade 12: Qualifikationsphase. My Abitur

Titelmasterformat Object Generator durch Klicken bearbeiten

Level 1 German, 2016

4. Algorithmen und Datenstrukturen I Grundlagen der Programmierung 1 (Java)

AEZ Yacht & Yacht SUV highgloss high gloss. DOTZ MUGELLO schwarz glänzend / hornpoliert black / polished

Extended Ordered Paired Comparison Models An Application to the Data from Bundesliga Season 2013/14

Transkript:

Lehrstuhl fu r Informatik I Algorithmische Geometrie Wintersemester 2013/14 Vorlesung: U bung: Alexander Wolff (E29) Philipp Kindermann (E12) Konvexe Hu lle oder Mischungsverha ltnisse 1. Vorlesung Prof. Dr. Alexander Wolff Lehrstuhl fu r Informatik I

In eigener Sache Eindhoven Würzburg Karlsruhe Stuttgart Freiburg Konstanz Greifswald Berlin Alexander Wolff Email: vorname.nachname @uni-wuerzburg.de Sprechstunde: mittwochs, 13 14 h Büro: Ehem. Mathebau E29 Forschungsgebiete: Graphenzeichnen Alg. Geometrie Alg. für GIS Alg. Graphentheorie

Algorithmische Geometrie Lernziele: Am Ende dieser Veranstaltung können Sie... entscheiden, mit welchen Algorithmen man ein gegebenes grundlegendes geometrisches Problem lösen kann, neue Probleme analysieren und dafür mit den Konzepten der Veranstaltung eigene effiziente Lösungen finden Voraussetzung: Algorithmen & Datenstrukturen Algorithmische Graphentheorie (o.ä.) Anforderungen: 50% der Übungspunkte 50% der Übungspunkte nach Neujahr 0% Plagiate mündliche Prüfung Meine Vision: hands-on interaktiv

Literatur M. de Berg, O. Cheong, M. van Kreveld, M. Overmars: Computational Geometry: Algorithms and Applications Springer, 3. Auflage, 2008 Rolf Klein: Algorithmische Geometrie: Grundlagen, Methoden, Anwendungen. Springer, 2. Auflage, 2005

Werbung Andere Master-Veranstaltungen des LS I in diesem Semester: Vorlesung: Approximationsalgorithmen Joachim Spoerhase, VL: Do 10 12, SE I Seminar: Visualisierung von Graphen AW & Martin Fink, Di 14 16, SE 37

Chapter 1 Mixing Things or: Convex Hull Alexander Wolff Computational Geometry WS 2013

Mixing Things Given... subst. fract. A fract. B s 1 10 % 35 % s 2 20 % 5 % s 3 40 % 25 % can subst. we mix fract. A fract. B q 1 25 % 28 % q 2 15 % 18 % using s 1, s 2, s 3? B.4.3.2.1 s 1 q 2 s 2 q 1.1.2.3.4 Observe: Given a set S R 2 of substances, we can mix a substance q R 2 d using the substances in S q CH(S). d s 3 A

Formally... Given S R 2, how do we define the convex hull CH(S)? Physics approach: take (large enough) elastic rope stretch and let go take area inside (and on) the rope Math approach: define convex define CH(S) = C S : C convex C

Towards Computation CH(S) = def C Problem with math approach: C S : C convex This set is HUGE! Maybe we can do with a little less? Claim: CH(S) = H = H S : H closed halfplane H S : H cl. halfplane, H S 2 H

Computer Science Approach Input: set S of n points in the plane, that is, S R 2 p q pq Output: list of vertices of CH(S) in clockwise order Observation. (p, q) is an edge of CH(S) each point in S lies strictly to the right of the directed line pq or on the line segment pq

Finally, an Algorithm FirstConvexHull(S) E foreach (p, q) S S with p q do valid true foreach r S do if not (r strictly right of pq or r pq) then valid false if valid then E E {(p, q)} from E construct sorted list L of vertices of CH(S) return L r strictly right of pq x r y r 1 x p y p 1 x q y q 1 < 0 Important: Test takes O(1) time!

Running Time Analysis FirstConvexHull(S) E foreach (p, q) S S with p q do (n 2 n) valid true foreach r S do if not (r strictly right of pq or r pq) then valid false Θ(1) Θ(n) Θ(n 3 ) if valid then E E {(p, q)} from E construct sorted list L of vertices of CH(S) return L Lemma. We can compute the convex hull of n pts in the plane in Θ(n 3 ) time. O(n 2 )

Discussion if not (r strictly right of pq or r pq) then valid false q E q E r Test may return wrong answer (floating pt arithmetic!): r right of pq :-( r p not right of rq q not right of pr p p Observation. Algorithm FirstConvexHull is not robust.

New Ideas upper convex hull split computation in two bring pts in lexicographic order proceed incrementally lower convex hull UpperConvexHull(S: set of pts in the plane) p 1, p 2,..., p n sort S lexicographically L p 1, p 2 for i 3 to n do L.append(p i ) while L > 2 and last 3 pts in L do not make right turn do remove second last pt from L return L // compute upper convex hull of {p 1, p 2,..., p i }

Running Time Analysis UpperConvexHull(S: set of pts in the plane) p 1, p 2,..., p n sort S lexicographically O(n log n) L p 1, p 2 for i 3 to n do (n 2) L.append(p i ) (n)? while L > 2 and last 3 pts in L do not make right turn do remove second last pt from L return L Amortized analysis: each pt p 2,..., p n 1 pays 1 $ for its potential removal later on this pays for the total effort of all executions of the while loop Theorem. We can compute the convex hull of n pts in the plane in O(n log n) time in a robust way.

Output-Sensitive Algorithms Jarvis gift-wrapping algorithm O(n h) Chan s exponential search O(n log h)... where h = CH(S) = size of the output