Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rubik cube challenge...
#11
Smile I love puzzles, tho I never had a Rubik Cube, I wouldn't be scared to try and solve one... Big Grin , might be the first to stump me tho,. heh heh, hmm.. oh well.. :rotfl:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#12
DUDE! Just look at my Link! ^ :o
i]"But...it was so beautifully done"[/i]
Reply
#13
Mango:

The algorithm I use is a human method going layer by layer, which goes like this: top edges, top corners, middle (edges), bottom edges orient, bottom edges position, bottom corners position, bottom corners orient, and optionally, center correction.
My algorithm is as far as I know the only algorithm which fixes center rotations for picture cubes.
Because my algorithm is a human method, solutions are generally long (about 100 moves). I have looked at implementing Thistlewatte's method and Kociemba's method (which are group-theory based methods which require large table generations, producing solutions in 25 moves or less) but have decided not to implement it for a number of reasons.

The main reason is because the solver is now generalized to solve NxNxN cubes, of ANY size from 2x2x2 to however much your memory will allow. For cubes of size 4x4x4 or greater, using a group-theory based solution is simply utterly unfeesible.

However, unlike Mitth'raw'nuruodod, I do not just tout a method without producing any code and claim that my code works correctly without any evidence whatsoever to support that claim.

So, if you'd like to have a look at my code, you can download the source to my solver here:

command-line version (easiest to read)
cgi version (the version which runs on the webserver and had the fancy interface)
The cgi version also has some advanced capabilities such as graphical output, and the ability to not only solve a cube, but also to solve a cube to another position (e.g., to solve for special patterns).

And once again, here's a link of the solver in action.

But, yes,
Mainly I'm interested to see people work on the challenge I've posted.

To that end, if you download the command-line version from the above link, you can get lots of hints... as all the fundamental functions and structures needed are there.

I'm especially keen to see what data structures other people use to represent the cube. For me, figuring this out was one of the biggest challenges in the beginning.

Peace
- Eric
ignatures suck
Reply
#14
:o What do you mean proof that the program works? If I gave you my program and it does what I says it does then it works right? I don't see how giving the source will prove that a program will work.
i]"But...it was so beautifully done"[/i]
Reply
#15
it's called empirical verification. I say I have a program which calculates all prime numbers from 1 to X but refuse to give the source code, and futhermore can't even provide a functioning beta, and FURTHERMORE claim that my program has a "friendly interface."
No one who use logic and the scientific method will take me seriously.

But I understand you're still in the stage where you don't understand that opening your source is how people can confirm your program works properly, get rid of bugs (which are inevitible), and make it work better.

However, I am no longer interested in your input on this matter.
If you wish to continue to post on this thread, post something relevant to the topic. If nothing else, share what data structure you use for your solver. Share the general method behind it. That way you don't have to release your top-secret sourcecode, but you can still contribute to an intellectual conversation in some way better than "hey look at me"

Now, to shift the tone of this reply, yeah, if you are willing to share you ideas as to how your solver works, then I am avidly interested in hearing what you have to say, so please don't hesitate to post.
Otherwise I just ask you stick to topic

Alright well peace and have a good weekend
- Eric
ignatures suck
Reply
#16
Well ok I'll stop.
i]"But...it was so beautifully done"[/i]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)