]> git.sesse.net Git - stockfish/commit
Less aggressive razoring
authorMarco Costalba <mcostalba@gmail.com>
Sun, 21 Dec 2008 09:42:39 +0000 (10:42 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 21 Dec 2008 09:42:39 +0000 (10:42 +0100)
commit96d05017354fa838462a7f8f6e25b8731e2ec400
treef0220d818ecf57598b951c2cddbc3ec730f96772
parentb58ad355ca6b3d81795563da3b5172efaf6cc941
Less aggressive razoring

Use a margin to compare with beta so that positions
that after the verifying qsearch have gained a lot of points
are not discarded just becasue not above beta.

Also remove the second condition on depth <= OnePly, it
was too risky and added only a 2% more of pruned nodes.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp