Dynamic Weight-Based Pathfinding for Maze Generation Using Randomized Recursive Algorithms

Authors

  • Mutian Lin

DOI:

https://doi.org/10.54097/v635c098

Keywords:

Generating maze, random number, generation algorithms.

Abstract

These days, Artificial Intelligence (AI) has become more and more popular. Pathfinding AI is one of them. There are many ways to train AI, one of them is letting them solve the maze, that is what this paper is talking about. The main logic is the dynamic weight of the road. Assume there is a robot that connects the start and the end. Wherever it passes, is the path. On each position, the algorithm will generate a number based on random numbers and the distance towards the end. After that, the robot will go to the next road that has the highest weight of road. Then continue generating the weight of the next point. Finally, the author of the paper found the maximum number of movements down needs to be higher otherwise the robot will go close to the edge of the maze. Overall, this study demonstrates how simple dynamic weighting rules can guide effective pathfinding in mazes while revealing the importance of careful parameter tuning.

References

[1]Mahmud S, Sarker U, Islam M, et al. A Greedy Approach in Path Selection for DFS Based Maze-Map Discovery Algorithm for an Autonomous Robot. 2012 15th International Conference on Computer and Information Technology (ICCIT), 2012: 546-551.

[2]Istiono AW, Nusantara M, Boulevard S, et al. Wall Pattern Detection with Prim’s Algorithm to Create Perfect Random Maze. Journal of Theoretical and Applied Information Technology, [no date], 101(9): 1832-1840.

[3]Ashlock D, Lee C, McGuinness C. Search-Based Procedural Generation of Maze-Like Levels. IEEE Transactions on Computational Intelligence and AI in Games, 2011, 3(3): 260-270.

[4]Kim PH. Design-Centric Maze Generation. Proceedings of the 14th International Conference on the Foundations of Digital Games, 2019: 1-7.

[5]Vijaya J. Analysis of Maze Generation Algorithms. 2024 5th International Conference on Innovative Trends in Information Technology (ICITIIT), 2024: 1-6.

Downloads

Published

15-03-2026

Issue

Section

Articles

How to Cite

Lin, M. (2026). Dynamic Weight-Based Pathfinding for Maze Generation Using Randomized Recursive Algorithms. Mathematical Modeling and Algorithm Application, 9(1), 218-222. https://doi.org/10.54097/v635c098