Live data from Hacker News

Eller’s Algorithm (2012)

neocomputer.org

1–10 of 29 posts

Re: Eller’s Algorithm (2012)

#4
post #2

Examples drawn don’t have an entry and exit?

If it's a "correct" maze with exactly one way to get from any one square to any other square (as Eller's mazes are), then it doesn't matter where your entry and exit points are -- there's always one solution for any entry/exit pair you choose.

Re: Eller’s Algorithm (2012)

#5
Looking at the output of Eller's algorithm, I have to say that it's not the one I'd go with.

Here's a visualisation of many maze algorithms: https://www.jamisbuck.org/mazes/ - the "recursive backtracker" algorithm featured at the top of the list (comes in a parallelizable variant) is the most popular answer for this StackOverflow Q&A: https://stackoverflow.com/questions/38502/whats-a-good-algor... To get a sense of what are some good properties of a maze, this blog post does a pretty comprehensive and exhaustive job: http://datagenetics.com/blog/november22015/index.html

Just in case we're not doing perfect 2D mazes but some variation, the following two pages cover different kinds of mazes:

http://www.astrolog.org/labyrnth/algrithm.htm

http://mazesforprogrammers.com/#mazes

$.02

Re: Eller’s Algorithm (2012)

#9
post #5

Looking at the output of Eller's algorithm, I have to say that it's not the one I'd go with. Here's a visualisation of many maze algorithms: https://www.jamisbuck.org/mazes/ - the "recursive backtracker" algorithm featured at the top of the list (comes in a parallelizable variant) is the most popular answer for this StackOverflow Q&A: https://stackoverflow.com/questions/38502/whats-a-good-algor... To get a sense of w…

Yeah, the mazes Eller’s algorithm makes are often simplistic. Recursive backtracking give you nice, long mazes.

Re: Eller’s Algorithm (2012)

#10
post #5

Looking at the output of Eller's algorithm, I have to say that it's not the one I'd go with. Here's a visualisation of many maze algorithms: https://www.jamisbuck.org/mazes/ - the "recursive backtracker" algorithm featured at the top of the list (comes in a parallelizable variant) is the most popular answer for this StackOverflow Q&A: https://stackoverflow.com/questions/38502/whats-a-good-algor... To get a sense of w…

The Aldous-Broder algorithm would be my choice. The large one on the page is still going strong! Amazing perseverance.
Post reply on HN