Beispiel #1
0
        private static void InitIdx(int idx)
        {
            switch (idx)
            {
            case 0: CubieCube.InitMove(); break;            //-

            case 1: CubieCube.InitSym(); break;             //0

            case 2: CubieCube.InitFlipSym2Raw(); break;     //1

            case 3: CubieCube.InitTwistSym2Raw(); break;    //1

            case 4: CubieCube.InitPermSym2Raw(); break;     //1

            case 5: CoordCube.InitFlipMove(); break;        //0, 1, 2

            case 6: CoordCube.InitTwistMove(); break;       //0, 1, 3

            case 7: CoordCube.InitUDSliceMoveConj(); break; //0, 1

            case 8: CoordCube.InitCPermMove(); break;       //0, 1, 4

            case 9: CoordCube.InitEPermMove(); break;       //0, 1, 4

            case 10: CoordCube.InitMPermMoveConj(); break;  //0, 1

            case 11: if (USE_TWIST_FLIP_PRUN)
                {
                    CoordCube.InitTwistFlipPrun();
                }
                break;                                      //1, 2, 3, 5, 6

            case 12: CoordCube.InitSliceTwistPrun(); break; //1, 3, 6, 7

            case 13: CoordCube.InitSliceFlipPrun(); break;  //1, 2, 5, 7

            case 14: CoordCube.InitMEPermPrun(); break;     //1, 4, 9, 10

            case 15: CoordCube.InitMCPermPrun(); break;     //1, 4, 8, 10
            }
        }