/
Convex Hulls Convex Hulls

Convex Hulls - PowerPoint Presentation

liane-varnes
liane-varnes . @liane-varnes
Follow
395 views
Uploaded On 2016-05-07

Convex Hulls - PPT Presentation

Given a set of points x 1 y 1 x 2 y 2 x n y n the convex hull is the smallest convex polygon containing all the points Convex Hulls Given a set of points x 1 y ID: 309603

convex points distance closest points convex closest distance pair hulls algorithm input plane output mini time hull running polygon

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Convex Hulls" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Convex Hulls

Given a set of points (x

1,y1),(x2,y2),…,(xn,yn), the convex hull is the smallest convex polygon containing all the points.Slide2

Convex Hulls

Given a set of points (x

1,y1),(x2,y2),…,(xn,yn), the convex hull is the smallest convex polygon containing all the points.Slide3

Convex Hulls

Gift-wrapping algorithm

running in time O(n2), or, more precisely, O(nk) where k is the number of vertices on the hull.An O(n log n) algorithm ?Slide4

Convex Hulls

The

Graham Scan algorithm

Running time ?Slide5

Convex Hulls

A divide-and-conquer algorithm ?

Running time ?Slide6

Closest Pair of PointsInput: n points in the plane (x

1,y1),…,(xn,yn)Output: distance of the closest pair of points, i.e.,

mini,j (i j) distance of (xi,yi) and (xj,yj)Slide7

Closest Pair of PointsInput: n points in the plane (x

1,y1),…,(xn,yn)Output: distance of the closest pair of points, i.e.,

mini,j (i j) distance of (xi,yi) and (xj,yj)Slide8

Closest Pair of PointsInput: n points in the plane (x

1,y1),…,(xn,yn)Output: distance of the closest pair of points, i.e.,

mini,j (i j) distance of (xi,yi) and (xj,yj)