2 questions
Submitted by mdlazreg on Thu, 02/21/2008 - 02:02.
Hi,
I am asking for help to understand the second phase of the 2-phases algorithm. I do understand the first phase.
My question is once we bring the scrambled cube to a position in the G1 = subgroup, how is this position taken to the Identity?
Kociemba says the following in his website:
In phase 2 the algorithm restores the cube in the subgroup G1, using only moves of this subgroup. It restores the permutation of the 8 corners, the permutation of the 8 edges of the U-face and D-face and the permutation of the 4 UD-slice edges. The heuristic function h2(a,b,c) only estimates the number of moves that are necessary to reach the goal state, because there are too many different elements in G1.
Unfortunately I am not able to understand what he means and what is really being done in the second phase. Can someone please try to explain to me how the optimal number of moves that takes the position in G1 to Identity is found?
The second question is regarding Tom's optimal solver, I could not figure out how to run it... What input does it expect? Can someone please give an example of a full command line?
Many thanks
I am asking for help to understand the second phase of the 2-phases algorithm. I do understand the first phase.
My question is once we bring the scrambled cube to a position in the G1 = subgroup, how is this position taken to the Identity?
Kociemba says the following in his website:
In phase 2 the algorithm restores the cube in the subgroup G1, using only moves of this subgroup. It restores the permutation of the 8 corners, the permutation of the 8 edges of the U-face and D-face and the permutation of the 4 UD-slice edges. The heuristic function h2(a,b,c) only estimates the number of moves that are necessary to reach the goal state, because there are too many different elements in G1.
Unfortunately I am not able to understand what he means and what is really being done in the second phase. Can someone please try to explain to me how the optimal number of moves that takes the position in G1 to Identity is found?
The second question is regarding Tom's optimal solver, I could not figure out how to run it... What input does it expect? Can someone please give an example of a full command line?
Many thanks