コード例 #1
0
        public List <INode> process(BoardGame game, PlayerColour colour)
        {
            DateTime startTime = DateTime.UtcNow;
            TimeSpan duration  = TimeSpan.FromSeconds(2);
            INode    root      = nodeService.createNode(game.Clone() as BoardGame, colour);

            root.expand();
            for (int i = 0; i < 3000; i++)
            {
                expansion(traverse(root));
            }
            return(root.getChildren());
        }