增加 RAPID_CHESS 启用后摆棋阶段缩短到1min以内

This commit is contained in:
CalciteM 2019-07-30 23:51:33 +08:00
parent 780c448f0b
commit 496e510689
2 changed files with 8 additions and 2 deletions

View File

@ -31,6 +31,8 @@
#define HASH_MAP_ENABLE
#define RAPID_CHESS
//#define BOOK_LEARNING
#define THREEFOLD_REPETITION

View File

@ -559,9 +559,13 @@ int NineChessAi_ab::changeDepth(int originalDepth)
#endif // HASH_MAP_ENABLE
#else // DEAL_WITH_HORIZON_EFFECT
#ifdef HASH_MAP_ENABLE
int depthTable[] = { 6, 15, 16, 17, 16, 16, 16, 15, 12, 10, 9, 7, 1 };
#ifdef RAPID_CHESS
int depthTable[] = { 6, 14, 15, 16, 15, 15, 15, 13, 10, 9, 8, 7, 1 };
#else
int depthTable[] = { 2, 13, 13, 13, 12, 11, 10, 9, 9, 8, 8, 7, 1 };
int depthTable[] = { 6, 15, 16, 17, 16, 16, 16, 15, 12, 10, 9, 7, 1 };
#endif // RAPID_CHESS
#else // HASH_MAP_ENABLE
int depthTable[] = { 2, 13, 13, 13, 12, 11, 10, 9, 9, 8, 8, 7, 1 };
#endif
#endif // DEAL_WITH_HORIZON_EFFECT
newDepth = depthTable[chessTemp.getPiecesInHandCount_1()];