价值评估中加大去子权重

This commit is contained in:
CalciteM 2019-06-22 21:36:23 +08:00
parent 4086f2b434
commit ba8b5768f2
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ int NineChessAi_ab::evaluate(Node *node)
// 如果形成去子状态每有一个可去的子算100分
case NineChess::ACTION_CAPTURE:
value += (chessContext->turn == NineChess::PLAYER1) ? (chessContext->nPiecesNeedRemove) * 100 : -(chessContext->nPiecesNeedRemove) * 100;
value += (chessContext->turn == NineChess::PLAYER1) ? (chessContext->nPiecesNeedRemove) * 1000 : -(chessContext->nPiecesNeedRemove) * 1000;
break;
default:
break;