cs0x7f / min2phase Goto Github PK
View Code? Open in Web Editor NEWRubik's Cube Solver. An optimized implementation of Kociemba's two-phase algorithm.
Rubik's Cube Solver. An optimized implementation of Kociemba's two-phase algorithm.
I'm trying to understand the performance difference from the 2 options.
When I ran the multi-threaded test I got an average speed of ~1.5 ms (I have 8 cores). In contrast the average speed of the single thread test is ~0.6ms. That's seems like a significant difference. I wonder if the multi-threaded solution can be optimized to have speeds closer to the single threaded test? I suspect whatever is being synchronized / re-used across threads could just be duplicated (at the cost of more memory). Is this something you'd be interested in? If so if you provide some guidance on where to start looking, I can give it a look
This program can-convert scrambled cube data to solved cube
I request to make a method to-convert scrambled cube data to another cube data
https://mvnrepository.com/search?q=min2phase
i found no result please give jar file which i could use for maven
also please provide how to use this in android studio
Hi @cs0x7f,
I've been working on new WCA-compatible scrambles in cubing.js
1, where we're using your code under the GPL: https://github.com/cubing/cubing.js/tree/2f1f395f6bbdf0485de3b8524d038d56d6978580/src/cubing/vendor/gpl/cs0x7f
However, the GPL has several issues, including a prohibition that disallows anyone from using the code in an iOS app.
Would you be willing to license your relevant code (min2phase
, sq12phase
, and the 4x4x4 reduction solver from cstimer
) under the MPL license?
It disallows private changes to the source code, while still allowing some private uses.
Thanks,
»Lucas
With the ambitious goal of replacing TNoodle, among other things. ↩
@cs0x7f , I want to create an app to solve rubik's cube and i want to use your code for that reason. for that reason i need to know the cube definition used for this particular algorithm. Can you please tell me, Each of the cube definition string elemets? I tried your tool.java file to get the cube definition string, but i got null pointer exception.
Excellent project, the most efficient algorithm there is. I created my own code class which for a fixed spatial position helps input the color codes such as "WBRYGO..." it is more intuitive than "URFDLB..." (albeit a little more spatially restrictive). I suggest to look into ways to use the (phone) camera for even faster inputs (example here: https://github.com/nemosupremo/Android-Rubik-s-Cube-Solver/blob/master/src/com/droidtools/rubiksolver/ColorDecoder.java)
I am new to Java.
From other projects, I know there is a way to implement solve to custom pattern.
I tried to work it out my self, but find it difficult because you use different variable "ca" and "ea" bytes array from others. Other projects use four variables to get it work.
I know I would implement
But it is rather difficult to get 2-4 work. Can you add this function?
i git cloned and run ur project it says there is no such import... please give a video on how to compile,run ur code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.