Two-Phase Algorithm in Mathematica

Joined
Nov 29, 2008
Messages
302
I implemented the Two-Phase-Algorithm in the simplest form in a Mathematica package. The implementation is short and slow, that is why I posted it here and not in the Software Area. It think it is more interesting from a theoretical point of view.
The interactive editor for the facelets will need at least Mathematica 6.0
 

Attachments

I implemented the Two-Phase-Algorithm in the simplest form in a Mathematica package. The implementation is short and slow, that is why I posted it here and not in the Software Area. It think it is more interesting from a theoretical point of view.
The interactive editor for the facelets will need at least Mathematica 6.0

Hmm. The compiled vesion is faster,and the sourcecode (delphi) is freely available. Who needs this??:confused:

Per
 
e. Who needs this??:confused:

Are you complaining about a gift from Kociemba? :p

Mathematica is a great language for certain computations, and I use it to compute and create graphics/data about the cube all the time. It's interesting to see the two-phase algorithm in Mathematica (as Herbert mentioned, it's short, so more pure and readable than fast code with syntactical overhead), and I can imagine more flexible adaptations of the basic implementation.

(Also, I've been tempted to write this myself some day.)
 
0-0 How do you even make these.. I know how to program.. But how would you structure this? Do you make a 3x3x3 array and brute force or what?
What is Two-Phase?
 
Back
Top