A STUDY OF THE PERFORMANCE OF ANY-ANGLE THETA* ALGORITHMS ON WEIGHTED GRID MAPS FOR ROUTE PLANNING
DOI:
https://doi.org/10.15588/1607-3274-2026-1-12Keywords:
pathfinding, path planning, square grid, any-angle algorithm, path cost, weighted grid, Theta*Abstract
Context. The article addresses the study of free-direction pathfinding algorithms, in particular the Theta* algorithm, and evaluates their performance on weighted grid maps in order to determine optimal routes for delivering goods to a firearms store. This research is carried out in the broader context of developing an information system for tracking and managing arms sales and logistics under complex conditions. One of the main motivations is that any-angle methods can produce more realistic and natural-looking paths compared to the classical A* algorithm.
Objective. The purpose of the study is to analyze the performance of three Theta*-based algorithms – Basic Theta*, Lazy Theta*, and Strict Theta*– on both uniform and weighted square grids, with special emphasis on execution time and path cost metrics. The work aims to generalize the applicability of these algorithms to weighted environments and to propose improvements suitable for real-world route planning scenarios.
Method. The principles of A*, the three Theta* variants, and path post-processing smoothing techniques are presented. The research describes the transition from unweighted uniform square grids to weighted grids and highlights the complexity of calculating accurate path costs when applying any-angle approaches. Visual demonstrations of algorithmic behavior were implemented using the Unity game engine. Performance metrics were measured separately for uniform and weighted grids to ensure comparative analysis.
Results. The results include comparative evaluations of Basic Theta*, Lazy Theta*, Strict Theta*, and classical A* algorithms. The analysis identifies conditions under which each algorithm performs effectively, as well as factors that limit their applicability in weighted environments. It is shown that path length and path cost may differ substantially in weighted grids, leading to new considerations for cost-based optimization. Based on the experiments, a generalization of the Basic Theta* algorithm is proposed to enhance its suitability for weighted square grids, and a potential extension of the Strict Theta* algorithm to this context is outlined.
Conclusions. The findings demonstrate that while any-angle algorithms provide smoother and more realistic routes, their effectiveness in weighted environments depends on careful adaptation of cost functions. The research highlights their value not only for simulating complex virtual environments and agent behaviors in games and robotics but also for practical applications in logistics, particularly in the development of an information system for tracking and managing firearms sales. The proposed algorithmic adaptations may contribute to improving delivery planning and supply chain efficiency, including the modeling of weapons delivery routes under wartime conditions.
References
Van Den Berg J., Shah R., Huang A., Goldberg K. Anytime nonparametric A, Proceedings of the AAAI Conference on Artificial Intelligence, 2011, Vol. 25, № 1, pp. 105–111. Mode of access: https://doi.org/10.1609/aaai.v25i1.7819.
Sturtevant N., Geisberger R. A comparison of High-Level approaches for speeding up pathfinding [Electronic resource], Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 2010, Vol. 6, № 1, pp. 76–82. Mode of access:
https://doi.org/10.1609/aiide.v6i1.12400.
Subbotin S. A. Construction of decision trees for the case of low-information features, Radio Electronics, Computer Science, Control, 2019, № 1, pp. 121–130.
Garcia-Luna-Aceves J., Murthy N. S. A path-finding algorithm for loop-free routing [Electronic resource], IEEE/ACM Transactions on Networking, 1997, Vol. 5, № 1, pp. 148–160. Mode of access: https://doi.org/10.1109/90.554729.
Lawande S. R., Jasmine G., Anbarasi J. et al. A systematic review and analysis of Intelligence-Based pathfinding algorithms in the field of video games, Applied Sciences, 2022, Vol. 12, № 11, P. 5499. Mode of access: https://doi.org/10.3390/app12115499.
Hart P., Nilsson N., Raphael B. A formal basis for the heuristic determination of minimum cost paths, IEEE Transactions on Systems Science and Cybernetics, 1968, Vol. 4, № 2, pp. 100–107. Mode of access https://doi.org/10.1109/tssc.1968.300136.
Fraile-Jurado P., Llovet-Ferrer M., Roig-Munar F. X. Toward Realism: An analysis of coastal environments in Open-World Video Games, Simulation & Gaming, 2024, Mode of access: https://doi.org/10.1177/10468781241287900.
Daniel K., Nash A., Koenig S., Felner A.Theta: Any-Angle path planning on grids, Journal of Artificial Intelligence Research, 2010, Vol. 39, pp. 533–579. Mode of access: https://doi.org/10.1613/jair.2994.
Le P. T., Lee K. Weight value and map complexity in Theta* [Electronic resource], MATEC Web of Conferences, 2016, Vol. 54, P. 05003. Mode of access: https://doi.org/10.1051/matecconf/20165405003.
Rey R., Cobano J. A., Merino L., Caballero F. Generalized Lazy-Theta for 3D path planning considering non-uniform costs, 2022 International Conference on Unmanned Aircraft Systems (ICUAS), 2022. Mode of access: https://doi.org/10.1109/icuas54217.2022.9836069.
Han S., Wang L., Y. Wang, H. He A dynamically hybrid path planning for unmanned surface vehicles based on non-uniform Theta and improved dynamic windows approach, Ocean Engineering, 2022, Vol. 257, P. 111655. Mode of access: https://doi.org/10.1016/j.oceaneng.2022.111655.
Nash A., Koenig S., Tovey C. Lazy Theta*: Any-Angle path planning and path length analysis in 3D [Electronic resource], Proceedings of the AAAI Conference on Artificial Intelligence, 2010, Vol. 24, № 1, pp. 147–154. Mode of access: https://doi.org/10.1609/aaai.v24i1.7566.
Oh S., Leong H. W. Strict Theta*: Shorter motion path planning using taut paths [[Electronic resource], Proceedings of the International Conference on Automated Planning and Scheduling, 2016, Vol. 26, pp. 253–257. Mode of access: https://doi.org/10.1609/icaps.v26i1.13744.
Amanatides J., Woo A. A Fast Voxel Traversal Algorithm for Ray Tracing. York University, 1987. Mode of access: http://www.cs.yorku.ca/~amana/research/grid.pdf
Kis Yu. O. Practicality and efficiency of application of weighted freely directed path finding algorithms Theta*: Qualification (master’s) thesis. Lviv, 2024, 54 p.
Methods and characteristics of locality-preserving transformations in the problems of computational intelligence, Radio Electronics, Computer Science, Control, 2014, № 21, pp. 120–128.
Oliinyk A., Subbotin S., Lovkin V. et al. The system of criteria for feature informativeness estimation in pattern recognition, Radio Electronics, Computer Science, Control, 2017, № 18, pp. 85–96.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Y. Kis, Y. M. Shcherbyna, N. E. Kunanets, Y. A. Yarymovych

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Creative Commons Licensing Notifications in the Copyright Notices
The journal allows the authors to hold the copyright without restrictions and to retain publishing rights without restrictions.
The journal allows readers to read, download, copy, distribute, print, search, or link to the full texts of its articles.
The journal allows to reuse and remixing of its content, in accordance with a Creative Commons license СС BY -SA.
Authors who publish with this journal agree to the following terms:
-
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License CC BY-SA that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
-
Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
-
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) as it can lead to productive exchanges, as well as earlier and greater citation of published work.