From 4d0dc09e867f0257adfb075966f51ac81481b6e2 Mon Sep 17 00:00:00 2001 From: "dev@dev.com" Date: Thu, 3 Jun 2021 18:57:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=BA=E8=AE=AE=E5=9C=A864=E4=BD=8DG++?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=99=A8=E7=BC=96=E8=AF=91=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chesspi/chesspi_ai.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/chesspi/chesspi_ai.cpp b/chesspi/chesspi_ai.cpp index a4685a1..63a66f9 100644 --- a/chesspi/chesspi_ai.cpp +++ b/chesspi/chesspi_ai.cpp @@ -90,7 +90,7 @@ std::vector build_tree(const chess_node & root, const int side,const tree[0].depth = 0; size_t curr_i = 0; - size_t max_nodes = 1024*1024*4; + size_t max_nodes = 1024*1024*8; while (tree.size()<=max_nodes && curr_i build_tree(const chess_node & root, const int side,const expand_node(tree[i],curr_side); const size_t sz = next_status.size(); - //有无结束 - bool ppz = false; -// for (size_t j=0;j