Пример #1
0
        public Phase3()
        {
            generators = new Twist[] {
                Twist.F, Twist.B, Twist.U, Twist.D,
                Twist.R2, Twist.L2, Twist.F2, Twist.B2, Twist.U2, Twist.D2,
                Twist.F_, Twist.B_, Twist.U_, Twist.D_,
                Twist.r2, Twist.l2, Twist.f2, Twist.b2, Twist.u2, Twist.d2
            };

            IDASearch = new IDAStar <Twist> (generators);
        }
Пример #2
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);
        }