![]() Nevertheless the package routine solved about 26000 random cubes/hour if the maximum maneuver length was set to 21 moves and about 800 random cubes/hour if it was set to 20 moves maximum length. The tables in this implementation take only about 5 MB and are generated within seconds. The little Java program GUI_example.jar (Version 2009.02.16), which is an executable jar file shows an example how to use the package. The package, the sourcecode and the corresponding javadocs are included in the file twophase.jar. You can download the program here.įor demonstration purposes I wrote a Java package which implements the two-phase-algorithm in its simplest form without any symmetry reductions. Generate your cubes in Cube Explorer and feed them to this program.īruce MacKenzie has ported this command line program to run on a The program also accepts the file format of Cube Explorer, so you can You can download the documented C source code here.Īn already compiled version for Windows is available here. Which runs on the command line under LINUX and WINDOWS, Interested in an Optimal Cube Solver in the Quarter Turn Metric I also was curious if it is possible to solve 3x3x3 Rubik's cubes optimally with Python. This is computationally quite inexpensive. I adopted the code to just solve a 2x2x2 Rubik's cube optimally. See here for some more information how to use the interface. This also works with the Raspberry Pi and the Raspberry Pi camera module. I meanwhile added some functionality to read the facelet colors with a webcam. On a Raspberry Pi 3 it solves random cubes within a few seconds with less than 20 moves on average. So use this version unless you exactly know why you want to use the QTM-version.įor those who are interested to build their own Rubik's cube solving robot, want to write cube solving software or just are interested in the way the two-phase-algorithm works in detail can have a look at my fully developed two-phase-solver written in Python. Cube Explorer was designed for the HTM and this is the version with better overall perfomance. The downloadable archive contains a version for the Quarter Turn Metric QTM (a 180 degree turn counts as 2 moves) and Half Turn Metric HTM (a 180 degree turn counts as 1 move). 128 MB of RAM and runs on all Windows platforms from Windows 98 to Windows 10 (32 bit or 64 bit).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |