an AI solver for the Rubik's Cube
Magic Cube AI Solver
The common solutions to the magic cube (a.k.a Rubik's Cube) involve one of the two:
- Unreasonable amount of resources - CPU, memory, etc. or,
- A very large number of steps
It has been shown that any 3x3x3 cube can be solved using no more than 26 quarter turns (90 degrees rotations of the cube's faces), yet the efficient solvers tend to yield solutions with dozens of turns.
The usual AI methods don't work well with this problem due to the complex nature of the group which is induced by the cube. Namely, the A* search algorithm needs a good heuristic to be able to efficiently cover its search space, and those are hard to come up with.
We propose the following approach:
- Use Machine Learning to learn a heuristic
- Perform A* search with the learned heuristic
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cubeai-0.0.16-py3-none-any.whl (12.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size cubeai-0.0.16.tar.gz (10.8 kB)||File type Source||Python version None||Upload date||Hashes View|