On a simple, practical, optimal, output-sensitive randomized planar convex hull algorithm

被引:18
作者
Bhattacharya, BK [1 ]
Sen, S [1 ]
机构
[1] INDIAN INST TECHNOL,DEPT COMP SCI & ENGN,NEW DELHI 110016,INDIA
关键词
D O I
10.1006/jagm.1997.0869
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we present a truly practical and provably optimal O(n log h) time output-sensitive algorithm for the planar convex hull problem. The basic algorithm is similar to the algorithm presented by Chan, Snoeyink, and Yap (in ''Proceedings of the 6th ACM-SIAM Symposium on Discrete Algorithms, 1995,'' pp. 282-291), where the median-finding step is replaced by an approximate median. We analyze two such schemes and show that for both methods, the algorithm runs in expected O(n log h) time. We further show that the probability of deviation from expected running time approaches 0 rapidly with increasing values of n and h for any input. Our experiments suggest that this algorithm is a practical alternative to the worst-case O(n log n) algorithms such as Graham's and is especially faster for small output-sizes. Our approach bears some resemblance to a recent algorithm of Wenger (Algorithmica, to appear), but our analysis is substantially different. (C) 1997 Academic Press.
引用
收藏
页码:177 / 193
页数:17
相关论文
共 14 条
[1]  
CHAN TM, 1995, THESIS U BRIT COLUMB
[2]  
CHAN TMY, 1995, PROCEEDINGS OF THE SIXTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P282, DOI 10.1109/SBEC.1995.514502
[3]   AN ALGORITHM FOR CONVEX POLYTOPES [J].
CHAND, DR ;
KAPUR, SS .
JOURNAL OF THE ACM, 1970, 17 (01) :78-&
[4]   LINEAR TIME ALGORITHMS FOR 2-VARIABLE AND 3-VARIABLE LINEAR-PROGRAMS [J].
DYER, ME .
SIAM JOURNAL ON COMPUTING, 1984, 13 (01) :31-45
[5]  
Graham R. L., 1972, Information Processing Letters, V1, P132, DOI 10.1016/0020-0190(72)90045-2
[6]  
Jarvis R. A., 1973, Information Processing Letters, V2, P18, DOI 10.1016/0020-0190(73)90020-3
[7]   THE ULTIMATE PLANAR CONVEX-HULL ALGORITHM [J].
KIRKPATRICK, DG ;
SEIDEL, R .
SIAM JOURNAL ON COMPUTING, 1986, 15 (01) :287-299
[8]  
Knuth D. E., 1973, The Art of Computer Programming Volume 3, Sorting and Searching, VIII
[9]   APPLYING PARALLEL COMPUTATION ALGORITHMS IN THE DESIGN OF SERIAL ALGORITHMS [J].
MEGIDDO, N .
JOURNAL OF THE ACM, 1983, 30 (04) :852-865
[10]  
Preparata F., 2012, Computational geometry: an introduction