Esempio n. 1
0
        public MoveList Solve(Board board, PiecesQueue queue)
        {
            if (queue == null)
            {
                throw new ArgumentNullException("queue");
            }
            if (board == null)
            {
                throw new ArgumentNullException("board");
            }

            PiecesQueue = queue;
            Board       = board;

            return(Solve());
        }
Esempio n. 2
0
        private static Flowerz.SolverModel.Board TranslateToSolverBoard(Flowerz.Model.Board board)
        {
            var b = new Flowerz.SolverModel.Board(board.GetBoardLayout());

            return(b);
        }