AlgorithmsGeometryEdit on GitHubEdit history
Graham Scan
convex hull1972
An algorithm that computes the convex hull in O(n log n) by sorting points by polar angle about the lowest point and then using a stack to eliminate right turns.
Origin
Lineage
Derived algorithms
Reference workDescribed as a Graham scan variant that sorts by x-coordinate instead of polar angle
Author statementCombines per-group Graham scans with a Jarvis march — doi:10.1007/BF02712873
Structural analysisBoth maintain hull vertices by pushing and popping with left-turn tests; Melkman's algorithm uses a deque operated at both ends instead of a stack.
Structural analysisThe Akl–Toussaint heuristic is a preprocessing step that discards interior points and is placed in front of sorting-based hull algorithms such as Graham scan.
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…