Abstract
The most popular pathfinding approach used in video games is the A* algorithm. This paper looks at depth-first search to determine if, with modifications, it can be made into a viable alternative. Proposed is a method of directing a search, which utilises a scoring system. Tests conducted on randomly generated maps of varying sizes showed that Directed Recursion Search calculated near-optimal paths in less time, by expanding fewer nodes, and with less memory required to store the paths, than A* or depth-first search.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Algfoor, Z.A., Sunar, M.S., Abdullah, A.: A new weighted pathfinding algorithm to reduce the search time on grid maps. Expert Syst. Appl. 71, 319–331 (2017)
Mathew, G.E., Malathy, G.: Direction based heuristic for pathfinding in video games. In: 2nd International Conference on Electronics and Communication Systems, ICECS 2015, pp. 1651–1657 (2015)
Cui, X., Shi, H.: An overview of pathfinding in navigation mesh. Int. J. Comput. Sci. Netw. Secur. 12, 48–51 (2012)
Valenzano, R., Arfaee, S.J., Thayer, J., Stern, R., Sturtevant, N.R.: Using alternative suboptimality bounds in heuristic search. In: Association for the Advancement of Artificial Intelligence (2013)
Hart, P.E., Nilsson, N.J., Raphael, B.: A formal basis for the heuristic determination of minimum cost paths. Trans. Syst. Sci. Cybern. SSC4, 100–107 (1968)
Cui, X., Shi, H.: A*-based pathfinding in modern computer games. Int. J. Comput. Sci. Netw. Secur. 11, 125–130 (2011)
Nash, A., Koenig, S.: Theta* for any-angle pathfinding. In: Game AI Pro 2. CRC Press (2015)
Graham, T., McCabe, H., Sheridan, S.: Pathfinding in computer games. ITB J. 4, 57–81 (2003)
Tarjan, R.: Depth-first search and linear graph algorithms. In: IEEE Switching and Automata Theory, pp. 114–121. Stanford University, California (1971)
Korf, R.E.: Depth-first iterative-deepening: an optimal admissible tree search. In: Artificial Intelligence 27, pp. 97–109. Elsevier Science Publishers (1985)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Roberts, P.M. (2018). Directed Recursion Search: A Directed DFS for Online Pathfinding in Random Grid-Based Environments. In: Bramer, M., Petridis, M. (eds) Artificial Intelligence XXXV. SGAI 2018. Lecture Notes in Computer Science(), vol 11311. Springer, Cham. https://doi.org/10.1007/978-3-030-04191-5_13
Download citation
DOI: https://doi.org/10.1007/978-3-030-04191-5_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-04190-8
Online ISBN: 978-3-030-04191-5
eBook Packages: Computer ScienceComputer Science (R0)