Piece mobility: filter out squares protected by pawns
authorMarco Costalba <mcostalba@gmail.com>
Mon, 5 Jan 2009 14:14:16 +0000 (15:14 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 5 Jan 2009 14:14:16 +0000 (15:14 +0100)
commitd0804341c5ec422c19e34db20756d123d03464e0
tree6fc94a6514b0635a34845bd3ec4c347af8c053ab
parentdc4e2d8184f916e245a887a188fa0ccc6831c3d1
Piece mobility: filter out squares protected by pawns

Do not consider squares protected by enemy pawns
in mobility evaluation.

This reduces the mobility value by about 15%

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