public Phase8()
        {
            generators = new Twist[] {
                Twist.U2, Twist.D2, Twist.R2, Twist.L2, Twist.F2, Twist.B2
            };

            bfSearch = new BFSearch <string, Twist> (generators);
        }
Example #2
0
        public Phase5()
        {
            generators = new Twist[] {
                Twist.F, Twist.B, Twist.U, Twist.D, Twist.R, Twist.L,
                Twist.U2, Twist.D2, Twist.R2, Twist.L2, Twist.F2, Twist.B2,
                Twist.F_, Twist.B_, Twist.U_, Twist.D_, Twist.R_, Twist.L_
            };

            bfSearch = new BFSearch <int, Twist> (generators);
        }
Example #3
0
        public Phase6()
        {
            generators = new Twist[] {
                Twist.F, Twist.B, Twist.U, Twist.D,
                Twist.U2, Twist.D2, Twist.R2, Twist.L2, Twist.F2, Twist.B2,
                Twist.F_, Twist.B_, Twist.U_, Twist.D_
            };

            bfSearch = new BFSearch <long, Twist> (generators);
        }
        public Phase1()
        {
            generators = new Twist[] {
                Twist.R, Twist.L, Twist.F, Twist.B, Twist.U, Twist.D,
                Twist.R2, Twist.L2, Twist.F2, Twist.B2, Twist.U2, Twist.D2,
                Twist.R_, Twist.L_, Twist.F_, Twist.B_, Twist.U_, Twist.D_,
                Twist.r, Twist.l, Twist.f, Twist.b, Twist.u, Twist.d,
                Twist.r2, Twist.l2, Twist.f2, Twist.b2, Twist.u2, Twist.d2,
                Twist.r_, Twist.l_, Twist.f_, Twist.b_, Twist.u_, Twist.d_
            };

            bfSearch = new BFSearch <int, Twist> (generators);
        }
Example #5
0
        public Phase2()
        {
            generators = new Twist[] {
                Twist.R, Twist.L, Twist.F, Twist.B, Twist.U, Twist.D,
                Twist.R2, Twist.L2, Twist.F2, Twist.B2, Twist.U2, Twist.D2,
                Twist.R_, Twist.L_, Twist.F_, Twist.B_, Twist.U_, Twist.D_,
                Twist.r, Twist.l,
                Twist.r2, Twist.l2, Twist.f2, Twist.b2, Twist.u2, Twist.d2,
                Twist.r_, Twist.l_
            };

            BFSearch  = new BFSearch <int, Twist> (generators);
            IDASearch = new IDAStar <Twist> (generators);
        }