LMR dynamic reduction

Reduce of two plies near the leafs and when we still
have enough depth to go so to limit horizon effects.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-03-20 12:33:30 +01:00
parent 0ff3bf34cd
commit 24b7ad54c7
2 changed files with 7 additions and 4 deletions

View File

@@ -141,8 +141,8 @@ Move MovePicker::get_next_move() {
assert(move_is_ok(mateKiller));
if (move_is_legal(pos, mateKiller, pinned))
return mateKiller;
}
break;
}
break;
case PH_GOOD_CAPTURES:
numOfMoves = generate_captures(pos, moves);