This paper addresses the problem of improving the query performance of the triangular expansion algorithm (TEA) for computing visibility regions by finding the most advantageous instance of the triangular mesh, the preprocessing structure. The TEA recursively traverses the mesh while keeping track of the visible region, the set of all points visible from a query point in a polygonal world. We show that the measured query time is approximately proportional to the number of triangle edge expansions during the mesh traversal. We propose a new type of triangular mesh that minimizes the expected number of expansions assuming the query points are drawn from a known probability distribution. We design a heuristic method to approximate the mesh and evaluate the approach on many challenging instances that resemble real-world environments. The proposed mesh improves the mean query times by 12-16% compared to the reference constrained Delaunay triangulation. The approach is suitable to boost offline applications that require computing millions of queries without addressing the preprocessing time. The implementation is publicly available to replicate our experiments and serve the community.
翻译:本文研究如何通过寻找最有利的三角网格实例(预处理结构)来改进计算可见区域的三角扩展算法(TEA)的查询性能。TEA在递归遍历网格的同时跟踪可见区域,即多边形世界中从查询点可见的所有点集合。我们证明实测查询时间近似正比于网格遍历过程中的三角形边扩展次数。针对查询点服从已知概率分布的情况,我们提出了一种能最小化期望扩展次数的新型三角网格。我们设计了一种启发式方法来近似该网格,并在多个模拟真实环境特征的复杂实例上评估了该方法。与参考的约束Delaunay三角剖分相比,所提出的网格将平均查询时间提升了12-16%。该方法适用于需要计算数百万次查询且不关注预处理时间的离线应用场景。相关实现已公开,可供复现实验并服务研究社区。