Skip to content

Commit

Permalink
時間制御調整
Browse files Browse the repository at this point in the history
  • Loading branch information
TadaoYamaoka committed Nov 11, 2017
1 parent 11bac42 commit 62cc9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usi/UctSearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ CalculateNextPlayouts(const Position *pos)
}
else if (mode == TIME_SETTING_MODE ||
mode == TIME_SETTING_WITH_BYOYOMI_MODE) {
time_limit = remaining_time[color] / (30 + max(0, 40 - pos->gamePly())) + inc_time[color];
time_limit = remaining_time[color] / (20 + max(0, 30 - pos->gamePly())) + inc_time[color];
if (mode == TIME_SETTING_WITH_BYOYOMI_MODE &&
time_limit < (const_thinking_time)) {
time_limit = const_thinking_time;
Expand Down

0 comments on commit 62cc9b6

Please sign in to comment.