Scale contempt factor to zero at endgame
authorMarco Costalba <mcostalba@gmail.com>
Sat, 13 Oct 2012 08:40:38 +0000 (10:40 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 13 Oct 2012 08:40:38 +0000 (10:40 +0200)
commit6c8663341eab5c45e57c85a0b1d7f79f52fa1709
treecdcb4fb5d33b9dd705591a8ab984abe358ece756
parentaba152ea3a0b97c1df7aab3a909d52349bdf6c76
Scale contempt factor to zero at endgame

Contempt Factor is more effective at opening/middle game
and seems harmful at endgame phase. See:

http://chessprogramming.wikispaces.com/Contempt+Factor

http://web.archive.org/web/20070707023203/www.brucemo.com/compchess/programming/contempt.htm

Therefore we scale down the contempt factor while going
on with the game so to reach zero at endgame phase.

No functional change.
src/search.cpp