arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.03050cs.CG
收藏

恒定工作空间模型下测地线最短路径算法的实验研究

An Experimental Study of Algorithms for Geodesic Shortest Paths in the Constant-Workspace Model

Jonas Cleve, Wolfgang Mulzer

摘要:

我们进行了实验评估算法,在一个简单的多边形内的恒定工作空间模型中的两点之间的测地线最短路径。在这个模型中,输入驻留在一个可以随机访问的只读数组中。此外,该算法可以使用恒定数量的单词来进行读取和写入。恒定工作空间模型近年来得到了广泛的研究,测地线最短路径的算法得到了特别的关注。我们已经在Python中实现了三个这样的算法,并将它们与Lee和Jesus使用线性时间和线性空间的经典算法进行了比较。我们还澄清了一些在算法的原始描述中缺失的实现细节。我们的实验表明,所有的算法执行广告在原来的作品,并根据理论保证。然而,运行时间中的常数因子对于算法在实践中完全有用来说是相当大的。

英文摘要:

We perform an experimental evaluation of algorithms for finding geodesic shortest paths between two points inside a simple polygon in the constant-workspace model. In this model, the input resides in a read-only array that can be accessed at random. In addition, the algorithm may use a constant number of words for reading and for writing. The constant-workspace model has been studied extensively in recent years, and algorithms for geodesic shortest paths have received particular attention. We have implemented three such algorithms in Python, and we compare them to the classic algorithm by Lee and Preparata that uses linear time and linear space. We also clarify a few implementation details that were missing in the original description of the algorithms. Our experiments show that all algorithms perform as advertised in the original works and according to the theoretical guarantees. However, the constant factors in the running times turn out to be rather large for the algorithms to be fully useful in practice.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑