Keywords: maze generation, ant colony algorithm, wilson’s algorithm, computational experiment
CREATION OF MAZE WITH MULTIPLE SOLUTIONS, SEARCH FOR ALL SOLUTIONS AND EDITING THEM
UDC 519.688
DOI: 10.26102/2310-6018/2019.25.2.030
This article considers the problem of creating a maze with multiple solutions, searching for all solutions and a possibility of editing them. First, we view two algorithms, which generate the most various mazes, and find their positive and negative sides. Then we choose the one most efficient and suitable for the problem. All maze creation algorithms, including two considered, are unable to reveal a definite number of solutions. Here we offer a modification of Wilson’s algorithm. Still we tend to think that all maze solving algorithms cannot find all possible solutions. Therefore, we develop a modification of Ant Colony algorithm. To edit mazes the two algorithms were developed: one by solutions lengths and another by similarity of solutions. The research was conducted in order to find dependencies between number of solutions and initial parameters. A computational experiment was made to find optimal number of ants within different initial parameters. Also, there were evaluated efficiencies of two maze editing algorithms with different parameters.
1. Classic maze generation algorithms. Part 1: introduction. – URL: https://habr.com/post/320140/ (дата обращения 20.11.2017).
2. Classic maze generation algorithms. Part 2: immersion in random. – URL: https://habr.com/post/321210/ .
3. Walter P. Maze Algorithms / P. Walter // Astrolog – URL: http://www.astrolog.org/labyrnth/algrithm.htm .
4. Shtovba S. D. Ant Colony algorithms / S. D. Shtovba // Exponenta Pro. – 2003. – №4. – P. 70-75.
Keywords: maze generation, ant colony algorithm, wilson’s algorithm, computational experiment
For citation: Simonyan E.S., Medvedeva O.A., Medvedev S.N. CREATION OF MAZE WITH MULTIPLE SOLUTIONS, SEARCH FOR ALL SOLUTIONS AND EDITING THEM. Modeling, Optimization and Information Technology. 2019;7(2). URL: https://moit.vivt.ru/wp-content/uploads/2019/05/SimonyanSoavtori_2_19_1.pdf DOI: 10.26102/2310-6018/2019.25.2.030 (In Russ).
Published 30.06.2019