]> git.sesse.net Git - stockfish/commit
Don't increase mobility if attacked piece is defended by a pawn
authorMarco Costalba <mcostalba@gmail.com>
Wed, 30 Sep 2009 15:04:51 +0000 (16:04 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 3 Oct 2009 09:48:07 +0000 (10:48 +0100)
commit3713bb26efa7466e8eed1bd6361b9cca8b16b449
treef3879037b108afc487c6df3deacf2fc24841c8a7
parentcff9ff21985edcf1d15e7df6c0e0039f550706ad
Don't increase mobility if attacked piece is defended by a pawn

If an enemy piece is defended by a pawn don't give the
extra mobility bonus in case we attack it.

Joona says that "Paralyzing pawn" is usually worth of nothing.

On Joona QUAD after 964 games:
Orig - Patch_2: 191 - 218 - 555 (+ 10 elo)

On my PC after 999 games at 1+0:
Mod vs Orig +227 =550 -222 50.25%  502.0/999  +2 ELO

In both cases we tested against the original version (without
increased mobility), not against the previous patch that instead
seems to fail on Joona QUAD:
Orig vs. Prev.Patch: 237 - 217 - 627 (-6 elo)

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