1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 01:03:09 +00:00
BadFish/src
Marco Costalba 738bf66a2d Passed pawns evaluation tweak
Do not penalize if in our adavncing pawn's path there are
non-pawns enemy pieces. Especially if they can be attacked
by us.

Patch is mine, but original idea and also fixing of a first, wrong,
version of the patch is from Eelco de Groot.

Tests with Joona framework seems to confirm patch is good

Results for patch 'disabled'   based on 5776 games: Win percentage:
41.309  (+- 0.526)  [+- 1.053]
Results for patch 'enabled'  based on 6400 games: Win percentage:
42.422  (+- 0.500)  [+- 1.000]

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-05-29 08:30:58 +02:00
..
application.cpp Update copyright year 2009-05-07 14:54:40 +02:00
application.h Update copyright year 2009-05-07 14:54:40 +02:00
benchmark.cpp Use string instead of std::string 2009-05-10 18:38:47 +01:00
benchmark.h Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.cpp Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.h Update copyright year 2009-05-07 14:54:40 +02:00
bitboard.cpp Use compiler name lookup to simplify code 2009-05-24 10:18:31 +01:00
bitboard.h Introduce bitcount.h 2009-05-21 16:19:20 +02:00
bitcount.h Revert _BitScanForward64 support 2009-05-25 07:28:55 +01:00
book.cpp Update copyright year 2009-05-07 14:54:40 +02:00
book.h Update copyright year 2009-05-07 14:54:40 +02:00
color.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
COPYING Initial import of Glaurung 2.1 2008-09-01 07:59:13 +02:00
depth.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
direction.cpp Space inflate and cleanup direction.cpp 2009-05-20 12:02:39 +02:00
direction.h Update copyright year 2009-05-07 14:54:40 +02:00
endgame.cpp Use compiler name lookup to simplify code 2009-05-24 10:18:31 +01:00
endgame.h Small code style in headers 2009-05-20 15:11:41 +02:00
evaluate.cpp Passed pawns evaluation tweak 2009-05-29 08:30:58 +02:00
evaluate.h Small code style in headers 2009-05-20 15:11:41 +02:00
history.cpp Reduce history 4 times instead of 2 when reach the maximum 2009-05-20 09:03:15 +02:00
history.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
lock.h Small code style in headers 2009-05-20 15:11:41 +02:00
main.cpp Print info about use of 64bit functions and hardware POPCNT 2009-05-23 16:12:26 +01:00
Makefile Fix some Intel compilers warnings 2009-05-09 12:09:25 +02:00
material.cpp Use string instead of std::string 2009-05-10 18:38:47 +01:00
material.h Small code style in headers 2009-05-20 15:11:41 +02:00
mersenne.cpp Warnings termination fest 2008-09-24 00:32:53 +02:00
mersenne.h Update copyright year 2009-05-07 14:54:40 +02:00
misc.cpp Print info about use of 64bit functions and hardware POPCNT 2009-05-23 16:12:26 +01:00
misc.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
move.cpp Use string instead of std::string 2009-05-10 18:38:47 +01:00
move.h Small code style in headers 2009-05-20 15:11:41 +02:00
movegen.cpp Merge hardware POPCNT detection and use 2009-05-25 07:56:26 +01:00
movegen.h Update copyright year 2009-05-07 14:54:40 +02:00
movepick.cpp Split killer moves from non-captures 2009-05-25 07:49:50 +01:00
movepick.h Split killer moves from non-captures 2009-05-25 07:49:50 +01:00
pawns.cpp Use compiler name lookup to simplify code 2009-05-24 10:18:31 +01:00
pawns.h Small code style in headers 2009-05-20 15:11:41 +02:00
piece.cpp Update copyright year 2009-05-07 14:54:40 +02:00
piece.h Update copyright year 2009-05-07 14:54:40 +02:00
position.cpp Use compiler name lookup to simplify code 2009-05-24 10:18:31 +01:00
position.h Unify piece_attacks<> for KNIGHT and KING 2009-05-21 12:15:52 +02:00
psqtab.h Update copyright year 2009-05-07 14:54:40 +02:00
san.cpp Use string instead of std::string 2009-05-10 18:38:47 +01:00
san.h Update copyright year 2009-05-07 14:54:40 +02:00
scale.h Update copyright year 2009-05-07 14:54:40 +02:00
search.cpp Move beta counter variables to the per-thread data 2009-05-16 12:25:35 +01:00
search.h Update copyright year 2009-05-07 14:54:40 +02:00
square.h Update copyright year 2009-05-07 14:54:40 +02:00
thread.h Move beta counter variables to the per-thread data 2009-05-16 12:25:35 +01:00
tt.cpp Update copyright year 2009-05-07 14:54:40 +02:00
tt.h Update copyright year 2009-05-07 14:54:40 +02:00
types.h Update copyright year 2009-05-07 14:54:40 +02:00
uci.cpp Small code style massage in uci.cpp 2009-05-20 12:40:07 +02:00
uci.h Update copyright year 2009-05-07 14:54:40 +02:00
ucioption.cpp Use string instead of std::string 2009-05-10 18:38:47 +01:00
ucioption.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
value.cpp Update copyright year 2009-05-07 14:54:40 +02:00
value.h Update copyright year 2009-05-07 14:54:40 +02:00