计算机科学 > 计算几何
[提交于 2017年6月16日]
标题:A Practical Algorithm for Enumerating Collinear Points
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper studies the problem of enumerating all maximal collinear subsets of size at least three in a given set of $n$ points. An algorithm for this problem, besides solving degeneracy testing and the exact fitting problem, can also help with other problems, such as point line cover and general position subset selection. The classic \emph{topological sweeping} algorithm of Edelsbrunner and Guibas can find these subsets in $O(n^2)$ time in the dual plane. We present an alternative algorithm that, although asymptotically slower than their algorithm in the worst case, is simpler to implement and more amenable to parallelization. If the input points are decomposed into $m$ convex polygons, our algorithm has time complexity $O(n^2 \log m)$ and space complexity $O(n)$. Our algorithm can be parallelized on the CREW PRAM with time complexity $O(n \log m)$ using $n$ processors.
提交历史
来自:Ali Gholami Rudi[v1] 2017年6月16日 星期五 19:41:12 UTC