// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // Move table for the three edges UR,UF and UL in phase1. private void loadURtoULMoves(boolean force) { if (!force && URtoUL_Move != null) return; URtoUL_Move = new short[N_URtoUL][N_MOVE]; CubieCube a = new CubieCube(); for (short i = 0; i < N_URtoUL; i++) { a.setURtoUL(i); for (int j = 0; j < 6; j++) { for (int k = 0; k < 3; k++) { a.edgeMultiply(CubieCube.moveCube[j]); URtoUL_Move[i][3 * j + k] = a.getURtoUL(); } a.edgeMultiply(CubieCube.moveCube[j]); } } }