All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Maze Master (Posted on 2004-06-21) Difficulty: 2 of 5
Given a two dimentional maze which only has one path from entrance to exit, develop an algorithm that discovers the no-dead-ends route from start to finish.

No Solution Yet Submitted by Gamer    
Rating: 4.3333 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution to a 'perfect maze' Comment 12 of 12 |
I believe that the solution required is not to physically 'walk, through the maze as such.

I have found an algorithm which purports to develop a solution for a 'perfect maze'; the definition being that there is only one pathway - one in you cannot get into an "open circuit".

The concept basically pulls down walls as you proceed to analyse the structure.  What tends to remain is a less complicated maze. 

In a programmed situation, the walls destroyed are stored, but recreated after the 'simpler' path is found.

 www.maa.org.org/editorial/knot/mazes.html
www.mazeworks.com/mazegen/mazetut/

I'll leave it someone else to develop and simply describe a visual 'pencil and paper' algorithm (which I believe Gamer requires)




  Posted by brianjn on 2005-05-10 09:26:33
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information