一种实用的共线点计数算法
A Practical Algorithm for Enumerating Collinear Points
摘要:
本文研究了在给定的$n$点集上计数所有大小至少为3的极大共线子集的问题。该问题的算法除了解决退化检验和精确拟合问题外,还可以解决点线覆盖和一般位置子集选择等问题。Edelsbrunner和Guibas的经典\emph{topological sweeping}算法可以在对偶平面上以$O(n^2)$时间找到这些子集。我们提出了一种替代算法,虽然在最坏的情况下比他们的算法渐近慢,但更容易实现,更适合并行化。如果输入点被分解为$m$凸多边形,我们的算法具有时间复杂度$O(n^2 \log m)$和空间复杂度$O(n)$。我们的算法可以并行化的CREW PRAM的时间复杂度$O(n \log m)$使用$n$处理器。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。