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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|cubeai-0.0.16-py3-none-any.whl (12.9 kB) Copy SHA256 hash SHA256||Wheel||py3||Aug 21, 2018|
|cubeai-0.0.16.tar.gz (10.8 kB) Copy SHA256 hash SHA256||Source||None||Aug 21, 2018|