Re: 'Magic Algorithm' for the Rubik's Cube?
- From: msb@xxxxxxx (Mark Brader)
- Date: Mon, 23 Jul 2007 04:05:39 -0000
I was thinking about something I was reading about Rubik's Cube
algorithms. They are turns of the cube to move certain pieces, and no
matter what it would go back to the original position if you repeated
it enough. This got me thinking... Is there an algorithm that would
always lead to the solved state?
Well, that's exactly what the various published solutions are.
I mean, I know how inefficient it
would have to be: you might have to go through all
43,252,003,274,489,856,000 positions and an average of
21,626,001,637,244,928,000 moves. Oh ya and one other specification
for the algorithm I am requesting: It must be shorter than the amount
of positions the cube can be in.
Okay, so I guess what you mean is, you want a *fixed sequence of moves*,
an "algorithm" that *does not take into account the specific position*,
that is nevertheless guaranteed to reach the solved state no matter what
the initial state was. Which means it must run through all possible
states. And the last requirement effectively means that it must not
repeat any of them. In other words, you're asking for a Hamiltonian
circuit of the 43-quintillion-node graph of all of the possible positions.
I had no idea, so I decided to look it up. If I'd found a solution
on the web, I would just have said so and let people have a crack at
finding it, but <http://web.usna.navy.mil/~wdj/book/node187.html> is
what I actually found, and this page says it's unknown whether this
Hamiltonian circuit exists.
--
Mark Brader "Computers get paid to extract relevant
Toronto information from files; people should not
msb@xxxxxxx have to do such mundane tasks." -- Ian Darwin
My text in this article is in the public domain.
.
- References:
- 'Magic Algorithm' for the Rubik's Cube?
- From: wiiwiillwiin@xxxxxxxxx
- 'Magic Algorithm' for the Rubik's Cube?
- Prev by Date: 'Magic Algorithm' for the Rubik's Cube?
- Next by Date: Re: Double Word Square
- Previous by thread: 'Magic Algorithm' for the Rubik's Cube?
- Next by thread: Re: 'Magic Algorithm' for the Rubik's Cube?
- Index(es):
Relevant Pages
|