]> git.sesse.net Git - stockfish/commit
Two more parameters eliminated
authorChris Caino <chricainogithub@gmail.com>
Mon, 4 Nov 2013 17:03:02 +0000 (17:03 +0000)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 7 Nov 2013 18:20:24 +0000 (19:20 +0100)
commit52ae0efccffcce7f095cc4bae7bf90fe7a3b467b
treebd33bc824aa9d1f8a850ba0a4f70f84ee116260b
parent53c04c0429c3e3d8988ec92dc949cc6c67919378
Two more parameters eliminated

RedundantRook and RedundantQueen replaced by simple
variable RedundantMajor. Also the SameColor coefficient
for Queen<->Queen has been set by definition to 0.

The remaining 5 parameters:

LinearCoefficients[ROOK]
LinearCoefficients[QUEEN]
QuadraticCoefficientsSameColor[ROOK][ROOK]
QuadraticCoefficientsSameColor[QUEEN][ROOK]
RedundantMajor

are sufficient to equate the material imbalances for the
5 common material configurations of R, RR, Q, QR and QRR
to any desired values simultaneously.

With the chosen parameters there should be no functional
change unless one side has more than 2 rooks or more
than 1 queen. For example bench from the start position
using the commands:

./stockfish
go depth 16

produces identical output except for one extra node
in the last iteration.

bench: 8198094
src/material.cpp