Algorithmus der Woche

Gift-Wrapping Algorithmus

Berechnung der konvexen Hülle mit dem Jarvis-March-Verfahren

Theoretischer Hintergrund

Definition: Die konvexe Hülle einer Punktmenge P ist die kleinste konvexe Menge, die alle Punkte aus P enthält.
Zeitkomplexität
O(n·h)
Worst Case
O(n²)
Raumkomplexität
O(h)

Steuerung

Punkte
0
Hüllpunkte
0
Laufzeit
0ms
Effizienz
Hinweis: Klicken Sie auf die Zeichenfläche, um Punkte manuell zu platzieren, oder nutzen Sie “Punkte generieren” für zufällige Datensätze. Der Algorithmus findet die äußeren Punkte, die eine konvexe Hülle bilden.
Referenz: Jarvis, R. A. (1973). “On the identification of the convex hull of a finite set of points in the plane”. Information Processing Letters, 2(1), 18-21.

Weekly Problem: Gift Wrapping

Yildiz Culcu


Hi, I'm Yildiz Culcu, a student of Computer Science and Philosophy based in Germany. My mission is to help people discover the joy of learning about science and explore new ideas. As a 2x Top Writer on Medium and an active voice on LinkedIn, and this blog, I love sharing insights and sparking curiosity. I'm an emerging Decision science researcher associated with the Max Planck Institute for Cognitive and Brain Sciences and the University of Kiel. I am also a Mentor, and a Public Speaker available for booking. Let's connect and inspire one another to be our best!


Post navigation