Merge Gary's bishop_pin patch
authorMarco Costalba <mcostalba@gmail.com>
Wed, 20 Feb 2013 11:19:19 +0000 (12:19 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 20 Feb 2013 11:39:09 +0000 (12:39 +0100)
commit9a1d5f0f1d8a12a85b198688d4f1d636a146eb7a
tree47bb2d5619b09f1cc3f4056698ccb8dc9d3ce597
parentd5e49a3ad44bde500102090e7fe2c19027a73b14
parentea4e22be1da1ccbf316d27f2eb3b14d0e13388e4
Merge Gary's bishop_pin patch

Give a bonus if a bishop can pin a piece or can
give a discovered check through an x-ray attack.

Seems good after 24000 games at 15"+0.05 (single thread):

ELO: 12.30 +- 99%: 5.79 95%: 4.40 LOS: 100.00%
Total: 24000 W: 4931 L: 4082 D: 14987

bench: 4917064
src/evaluate.cpp