diff --git a/chesspi/chesspi_ai.cpp b/chesspi/chesspi_ai.cpp index a4685a1721e1f19e6428d04d009f629493cda91c..63a66f906087f713cc6e0f582d5b903b5f29356d 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