Using Watering Algorithm to Find the Optimal Paths of a Maze
Abstract
According to the principle of watering systems,a watering algorithm is proposed and applied to find the optimal paths of a maze in this paper.Assuming that a maze is a watering system,water fills the maze from the entrance and flows out from the outlet through passages of the maze.Water filled from the entrance spreads to each direction along the passages and the passing time of water is recorded at every spot in the maze.When water arrives at the outlet,all of the optimal paths will be found according to the recorded time based on the principle that the less time cost stems from the short path.The spatial complexity and the time complexity of the algorithm are linear with the size of a maze.The experimental results show that the watering algorithm is an efficient way to solve maze problems.
BibTeX
@inproceedings{liu2007using,
author = {Zheng Liu},
title = {{Using Watering Algorithm to Find the Optimal Paths of a Maze}},
booktitle = {Jisuanji},
year = {2007},
}Ask Althea to put this paper to the test.
Loading related content...