parent
bfcd719d99
commit
58d42fb8ba
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
//#define DEBUG_MODE
|
//#define DEBUG_MODE
|
||||||
|
|
||||||
//#define RANDOM_MOVE
|
#define RANDOM_MOVE
|
||||||
|
|
||||||
#define DEAL_WITH_HORIZON_EFFECT
|
//#define DEAL_WITH_HORIZON_EFFECT
|
||||||
|
|
||||||
#define IDS_SUPPORT
|
#define IDS_SUPPORT
|
||||||
|
|
||||||
|
@ -33,12 +33,16 @@
|
||||||
#else // DEBUG
|
#else // DEBUG
|
||||||
#ifdef DEAL_WITH_HORIZON_EFFECT
|
#ifdef DEAL_WITH_HORIZON_EFFECT
|
||||||
#ifdef HASH_MAP_ENABLE
|
#ifdef HASH_MAP_ENABLE
|
||||||
#define GAME_MOVING_FIXED_DEPTH 10
|
#define GAME_MOVING_FIXED_DEPTH 9
|
||||||
#else
|
#else
|
||||||
#define GAME_MOVING_FIXED_DEPTH 9
|
#define GAME_MOVING_FIXED_DEPTH 9
|
||||||
#endif // HASH_MAP_ENABLE
|
#endif // HASH_MAP_ENABLE
|
||||||
#else // DEAL_WITH_HORIZON_EFFECT
|
#else // DEAL_WITH_HORIZON_EFFECT
|
||||||
|
#ifdef HASH_MAP_ENABLE
|
||||||
|
#define GAME_MOVING_FIXED_DEPTH 11
|
||||||
|
#else
|
||||||
#define GAME_MOVING_FIXED_DEPTH 10
|
#define GAME_MOVING_FIXED_DEPTH 10
|
||||||
|
#endif
|
||||||
#endif // DEAL_WITH_HORIZON_EFFECT
|
#endif // DEAL_WITH_HORIZON_EFFECT
|
||||||
#endif // DEBUG
|
#endif // DEBUG
|
||||||
|
|
||||||
|
|
|
@ -529,12 +529,16 @@ int NineChessAi_ab::changeDepth(int originalDepth)
|
||||||
#ifdef GAME_PLACING_DYNAMIC_DEPTH
|
#ifdef GAME_PLACING_DYNAMIC_DEPTH
|
||||||
#ifdef DEAL_WITH_HORIZON_EFFECT
|
#ifdef DEAL_WITH_HORIZON_EFFECT
|
||||||
#ifdef HASH_MAP_ENABLE
|
#ifdef HASH_MAP_ENABLE
|
||||||
int depthTable[] = { 8, 12, 12, 13, 14, 14, 14, 12, 11, 10, 6, 6, 1 };
|
int depthTable[] = { 4, 11, 12, 13, 14, 14, 14, 12, 11, 10, 6, 6, 1 };
|
||||||
#else // HASH_MAP_ENABLE
|
#else // HASH_MAP_ENABLE
|
||||||
int depthTable[] = { 2, 11, 11, 11, 11, 10, 9, 8, 8, 8, 7, 7, 1 };
|
int depthTable[] = { 2, 11, 11, 11, 11, 10, 9, 8, 8, 8, 7, 7, 1 };
|
||||||
#endif // HASH_MAP_ENABLE
|
#endif // HASH_MAP_ENABLE
|
||||||
#else // DEAL_WITH_HORIZON_EFFECT
|
#else // DEAL_WITH_HORIZON_EFFECT
|
||||||
int depthTable[] = { 2, 13, 13, 13, 12, 11, 10, 9, 9, 8, 8, 7, 1 };
|
#ifdef HASH_MAP_ENABLE
|
||||||
|
int depthTable[] = { 6, 15, 16, 17, 16, 16, 16, 15, 13, 11, 9, 7, 1 };
|
||||||
|
#else
|
||||||
|
int depthTable[] = { 2, 13, 13, 13, 12, 11, 10, 9, 9, 8, 8, 7, 1 };
|
||||||
|
#endif
|
||||||
#endif // DEAL_WITH_HORIZON_EFFECT
|
#endif // DEAL_WITH_HORIZON_EFFECT
|
||||||
newDepth = depthTable[chessTemp.getPiecesInHandCount_1()];
|
newDepth = depthTable[chessTemp.getPiecesInHandCount_1()];
|
||||||
#elif defined GAME_PLACING_FIXED_DEPTH
|
#elif defined GAME_PLACING_FIXED_DEPTH
|
||||||
|
|
Loading…
Reference in New Issue