depth: 双方子力相差3时才从11层开始下降
原因是刚开始走棋时差对手3颗子还有翻盘的可能. 此修改对自对弈结果无影响.
This commit is contained in:
parent
a85c707e2a
commit
c4ba910072
|
@ -80,9 +80,9 @@ depth_t AIAlgorithm::changeDepth(depth_t origDepth)
|
||||||
};
|
};
|
||||||
|
|
||||||
const depth_t movingDiffDepthTable[] = {
|
const depth_t movingDiffDepthTable[] = {
|
||||||
0, 0, 11, /* 0 ~ 2 */
|
0, 0, 0, /* 0 ~ 2 */
|
||||||
10, 9, 8, /* 3 ~ 5 */
|
11, 10, 9, 8, 7, /* 3 ~ 7 */
|
||||||
7, 6, 5, 4, 3, 2, 1 /* 6 ~ 12 */
|
6, 5, 4, 3, 2 /* 8 ~ 12 */
|
||||||
};
|
};
|
||||||
|
|
||||||
if ((tempGame.position.phase) & (PHASE_PLACING)) {
|
if ((tempGame.position.phase) & (PHASE_PLACING)) {
|
||||||
|
|
Loading…
Reference in New Issue