mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Simplify away internal iterative deepening
Remove the iterative deepening step. Instead, employ a depth reduction if the position is not in TT and on the PV. STC https://tests.stockfishchess.org/tests/view/5f3ce6eaa95672ddd56c637e LLR: 2.97 (-2.94,2.94) {-0.50,1.50} Total: 41096 W: 4421 L: 4257 D: 32418 Ptnml(0-2): 207, 3259, 13460, 3407, 215 LTC (old) https://tests.stockfishchess.org/tests/view/5f3d7d4fa95672ddd56c640b LLR: 2.92 (-2.94,2.94) {-1.50,0.50} Total: 26032 W: 1320 L: 1309 D: 23403 Ptnml(0-2): 22, 1152, 10654, 1169, 19 LTC (new) https://tests.stockfishchess.org/tests/view/5f3e31e0a95672ddd56c6464 LLR: 2.95 (-2.94,2.94) {-0.75,0.25} Total: 34160 W: 1844 L: 1766 D: 30550 Ptnml(0-2): 33, 1533, 13876, 1599, 39 bench: 3849173
This commit is contained in:
parent
15abcaedc1
commit
e64b957274
1 changed files with 5 additions and 9 deletions
|
@ -939,15 +939,11 @@ namespace {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 11. Internal iterative deepening (~1 Elo)
|
// Step 11. If the position is not in TT, decrease depth by 2
|
||||||
if (depth >= 7 && !ttMove)
|
if ( PvNode
|
||||||
{
|
&& depth >= 6
|
||||||
search<NT>(pos, ss, alpha, beta, depth - 7, cutNode);
|
&& !ttMove)
|
||||||
|
depth -= 2;
|
||||||
tte = TT.probe(posKey, ttHit);
|
|
||||||
ttValue = ttHit ? value_from_tt(tte->value(), ss->ply, pos.rule50_count()) : VALUE_NONE;
|
|
||||||
ttMove = ttHit ? tte->move() : MOVE_NONE;
|
|
||||||
}
|
|
||||||
|
|
||||||
moves_loop: // When in check, search starts from here
|
moves_loop: // When in check, search starts from here
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue