Research Article

Optimization and comparative analysis of maze generation algorithm hybrid

Kaicheng Yang1, Sutong Lin2,*, Yu Dai3, Wentai Li4
1. Soochow University
2. Fuzhou University
3. Dalian University of Technology
4. Maple Leaf International School

* Corresponding author: [email protected]

Abstract

The complexity of generating intricate and random mazes is a captivating challenge that finds applications in various fields, including computer science, mathematics, gaming, and simulations. This study presents an innovative approach by integrating two prominent perfect maze generation algorithms, Aldous-border (AB) and Wilson. Both are celebrated for their strong randomness and efficiency, yet their combination offers a novel way to optimize maze generation. Our research commenced with a detailed analysis of the relationship between the coverage rate, uniquely characterized by the AB algorithm, and map size. We then formulated a mechanism that transitions seamlessly into the Wilson algorithm, aiming to minimize time consumption. Through a series of carefully designed experimental trials, we hope to use a model to find the most suitable algorithm for switching to minimize the time it takes to generate a maze. These were subsequently evaluated and compared to identify the most fitting solution. Under the framework of our synthesized algorithm, an average time saving of 34.124% was achieved, demonstrating a promising enhancement in efficiency. Although still in the exploratory phase, the outcomes of this research provide foundational insights into maze generation's underlying principles and techniques. The outcomes of this research offer insights into maze generation and its applications and may serve as a useful reference for future studies and potential technological advancements.

Keywords: Algorithm; Maze; Aldous-border; Wilson; Machine Learning
Published: July 25, 2024
DOI: 10.54254/2755-2721/79/20241082
Volume: ACE Vol.79
pp. 20-33
Download PDF

References

  1. Fredes, L., & Marckert, J. F. (2023). A combinatorial proof of Aldous–Broder theorem for general Markov chains. Random Structures & Algorithms, 62(2), 430-449.
  2. Nunes, I., Iacobelli, G., & Figueiredo, D. R. (2022). A transient equivalence between Aldous-Broder and Wilson's algorithms and a two-stage framework for generating uniform spanning trees. arXiv preprint arXiv:2206.12378.
  3. C. -m. Bae, E. K. Kim, J. Lee, K. -J. Kim and J. -C. Na, "Generation of an arbitrary shaped large maze by assembling mazes," 2015 IEEE Conference on Computational Intelligence and Games (CIG), Tainan, Taiwan, 2015, pp. 538-539, doi: 10.1109/CIG.2015.7317901.
  4. Dormann, C. F., Elith, J., Bacher, S., Buchmann, C., Carl, G., Carré, G., ... & Lautenbach, S. (2013). Collinearity: a review of methods to deal with it and a simulation study evaluating their performance. Ecography, 36(1), 27-46.
  5. J. Chelladurai, "Exploring Complex Toroidal Mazes with L-systems," 2023 4th International Conference on Computing and Communication Systems (I3CS), Shillong, India, 2023, pp. 1-6, doi: 10.1109/I3CS58314.2023.10127262.
  6. Leng Jianfei, Gao Xu & Zhu Jiaping. (2016). The Application of Multiple Linear Regression Statistical Forecast Models. Statistics and Decision (07), 82-85. doi:10.13546/j.cnki.tjyjc.2016.07.021.
  7. P. H. Kim and R. Crawfis, "Intelligent Maze Generation Based on Topological Constraints," 2018 7th International Congress on Advanced Applied Informatics (IIAI-AAI), Yonago, Japan, 2018, pp. 867-872, doi: 10.1109/IIAI-AAI.2018.00176.
  8. Uemukai, R. (2011). Small sample properties of a ridge regression estimator when there exist omitted variables. Statistical Papers, 52, 953-969.
  9. Zhang, Y., Ma, F., & Wang, Y. (2019). Forecasting crude oil prices with a large set of predictors: Can LASSO select powerful predictors? Journal of Empirical Finance, 54, 97-117.
  10. Hong, C. S., & Kim, J. M. (2010). The SSR Plot: A Graphical Representation for Regression. Communications in Statistics—Simulation and Computation®, 39(4), 726-735.
  11. Walter D. Pullen (2023). Maze Creation Algorithms, Maze Algorithms. Available at: https://www.astrolog.org/labyrnth.htm (Accessed: 10 October 2023).