5 CONCLUSION
We have shown that when computing visibility re-
gions by the triangular expansion algorithm (TEA),
the choice of the triangulation type matters. Choos-
ing the right or lousy triangulation can shift the av-
erage query performance of the TEA significantly in
both directions. We have also shown that the con-
straint Delaunay triangulation (CDT), although it is
commonly used, is not optimal for the TEA in the
sense that it does not minimize the expected number
of edge expansions done by the algorithm. This pa-
per contributes by designing a new type of triangula-
tion called MinVT that approximately minimizes the
above criterion and improves the TEA query perfor-
mance compared to CDT by about 5-28%, depending
on the input map. In addition, the proposed triangula-
tion can adapt to TEA with early exit strategy, called
d-TEA, used when computing visibility regions con-
strained by limited visibility range d.
In future work, we plan to address the preprocess-
ing time, i.e., the time needed for constructing the
proposed triangulation, which was not addressed here
but appeared slow due to naive approaches used in
some of the sub-procedures. Furthermore, a promis-
ing direction for future research is generalizing from a
triangulation optimization to an optimization of gen-
eral collection of convex polygons, also called a nav-
igation mesh. A computation similar to TEA’s com-
putation of visibility regions but using a general nav-
igation mesh appears in (Shen et al., 2020). Here,
Polyanya (Cui et al., 2017), a state-of-the-art optimal
solver for computing geometric shortest paths in nav-
igation meshes, was adapted to compute all convex
obstacle vertices visible from a query mesh vertex.
Adapting the ideas of this paper to navigation meshes
used in Polyanya may result in a similar average im-
provement of query times as for TEA with optimized
triangulation.
ACKNOWLEDGMENTS
This work was supported by the European Regional
Development Fund under the project Robotics for In-
dustry 4.0 (reg. no. CZ.02.1.01/0.0/0.0/15003/000
0470) and by the Grant Agency of the Czech Tech-
nical University in Prague, grant No. SGS21/185/OH
K3/3T/37.
REFERENCES
Asano, T. (1985). An efficient algorithm for finding the
visibility polygon for a polygonal region with holes.
IEICE Transactions, 68(9):557–559.
Bungiu, F., Hemmer, M., Hershberger, J., Huang, K., and
Kr
¨
oller, A. (2014). Efficient Computation of Visibility
Polygons. arXiv:1403.3905.
Cui, M., Harabor, D. D., and Grastien, A. (2017).
Compromise-free pathfinding on a navigation mesh.
In Proceedings of the Twenty-Sixth International Joint
Conference on Artificial Intelligence, IJCAI-17, pages
496–502.
Grantson, M., Borgelt, C., and Levcopoulos, C. (2008).
Fixed parameter algorithms for the minimum weight
triangulation problem. International Journal of Com-
putational Geometry & Applications, 18(03):185–
220.
Guibas, L. J., Latombe, J.-C., Lavalle, S. M., Lin, D.,
and Motwani, R. (1997). Visibility-based pursuit-
evasion in a polygonal environment. In Dehne, F.,
Rau-Chaplin, A., Sack, J.-R., and Tamassia, R., ed-
itors, Algorithms and Data Structures, pages 17–30,
Berlin, Heidelberg. Springer Berlin Heidelberg.
Keynes, J. M. (1921). The Principle of Indifference. In A
Treatise on Probability, volume 4, chapter IV, pages
41–64. Macmillan and Co.
Kulich, M., Koz
´
ak, V., and P
ˇ
reu
ˇ
cil, L. (2018). An inte-
grated approach to autonomous environment model-
ing. In Modelling and Simulation for Autonomous Sys-
tems (MESAS 2017), volume 10756 of Lecture Notes
in Computer Vision. Springer International Publishing
AG.
Mikula, J. and Kulich, M. (2022). Towards a continuous
solution of the d-visibility watchman route problem in
a polygon with holes. IEEE Robotics and Automation
Letters, 7(3):5934–5941.
Mulzer, W. and Rote, G. (2008). Minimum-weight triangu-
lation is np-hard. J. ACM, 55(2).
Ntafos, S. (1992). Watchman routes under limited visibility.
Computational Geometry: Theory and Applications,
1(3):149–170.
O’Rourke, J. (1987). Art Gallery Theorems and Algorithms.
Oxford University Press.
Shen, B., Cheema, M. A., Harabor, D., and Stuckey, P. J.
(2020). Euclidean pathfinding with compressed path
databases. In Proceedings of the Twenty-Ninth Inter-
national Joint Conference on Artificial Intelligence,
IJCAI-20, pages 4229–4235.
Shewchuk, J. R. (1996). Triangle: Engineering a 2d qual-
ity mesh generator and delaunay triangulator. Applied
Computational Geometry Towards Geometric Engi-
neering, 1148:203–222.
Shewchuk, J. R. (2002). Delaunay refinement algorithms
for triangular mesh generation. Computational Ge-
ometry, 22(1):21–74.
Sturtevant, N. (2012). Benchmarks for grid-based pathfind-
ing. Transactions on Computational Intelligence and
AI in Games, 4(2):144 – 148.
Triangular Expansion Revisited: Which Triangulation Is The Best?
319