Skip to content

nabinchha/convex-hull-jarvis-grahams-comparision

Repository files navigation

Comparision of Jarvis March & Graham's Scan Convex Hull Algorithms

This is a short class project I did back in 2010. Thought I'd put it up on github incase anyone is interested. See this report for a more detailed information.

Abstract

Convex hull of a set of points is the region that exclusively includes all of the points in the given set of points. There are different algorithms to find the planar convex hull of a set of points based on different time complexities. They include Graham scan, Jarvis march, Divide-and-Conquer, Optimal output-sensitive algorithms, and Akl-Toussaint heuristic. In this paper we will study the techniques of Graham scan and Jarvis march, and their computational speed. Jarvis march, the simpler of the two in terms of implementation, has a running time of O(nh), where n is the number of points in the set and h is the number of points in the hull. However, it has the worst case running time of O(n2) when all given points form the convex hull. Graham’s scan, with a more complex implementation, has a running time of O(nlogn).

About

comparision of jarvis march and grahams scan convex hull algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published