mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
Revert "Relax time constraints"
Does not seem to give an improvment, acutually it seems a totally neutral change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-2
@@ -678,7 +678,7 @@ namespace {
|
|||||||
// Stop search if most of MaxSearchTime is consumed at the end of the
|
// Stop search if most of MaxSearchTime is consumed at the end of the
|
||||||
// iteration. We probably don't have enough time to search the first
|
// iteration. We probably don't have enough time to search the first
|
||||||
// move at the next iteration anyway.
|
// move at the next iteration anyway.
|
||||||
if (current_search_time() > ((MaxSearchTime + ExtraSearchTime)*90) / 128)
|
if (current_search_time() > ((MaxSearchTime + ExtraSearchTime)*80) / 128)
|
||||||
stopSearch = true;
|
stopSearch = true;
|
||||||
|
|
||||||
if (stopSearch)
|
if (stopSearch)
|
||||||
@@ -2249,7 +2249,7 @@ namespace {
|
|||||||
bool overTime = t > AbsoluteMaxSearchTime
|
bool overTime = t > AbsoluteMaxSearchTime
|
||||||
|| (RootMoveNumber == 1 && t > MaxSearchTime + ExtraSearchTime)
|
|| (RootMoveNumber == 1 && t > MaxSearchTime + ExtraSearchTime)
|
||||||
|| ( !FailHigh && !fail_high_ply_1() && !Problem
|
|| ( !FailHigh && !fail_high_ply_1() && !Problem
|
||||||
&& t > 10*(MaxSearchTime + ExtraSearchTime));
|
&& t > 6*(MaxSearchTime + ExtraSearchTime));
|
||||||
|
|
||||||
if ( (Iteration >= 2 && (!InfiniteSearch && overTime))
|
if ( (Iteration >= 2 && (!InfiniteSearch && overTime))
|
||||||
|| (ExactMaxTime && t >= ExactMaxTime)
|
|| (ExactMaxTime && t >= ExactMaxTime)
|
||||||
|
|||||||
Reference in New Issue
Block a user