1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-12 05:39:35 +00:00

Commit graph

  • 3fbe5ed06f Revert "Temporary change MAX_PLY to 8" Marco Costalba 2014-11-17 10:11:05 +01:00
  • 089814db83 Temporary change MAX_PLY to 8 Marco Costalba 2014-11-17 10:05:58 +01:00
  • 5eee4d42ef Accurate pv: change update_pv() API Marco Costalba 2014-11-17 10:02:53 +01:00
  • 1a41157e76 Accurate pv: retire PVEntry Marco Costalba 2014-11-15 07:17:25 +01:00
  • 9c409a4efe Accurate pv: remove redundant check Marco Costalba 2014-11-15 06:24:28 +01:00
  • 7f83a93558 Accurate PV: codying style Marco Costalba 2014-11-15 06:21:01 +01:00
  • 1a939cd8c8 Fix a warning on Intel C++ Marco Costalba 2014-11-16 16:25:20 +01:00
  • d65c9a3262 Use PHASE_MIDGAME in game_phase() sf-x 2014-11-17 07:50:33 +08:00
  • 99f2c1a2a6 Clear token before reading from input Rodrigo Exterckötter Tjäder 2014-11-17 07:48:30 +08:00
  • 3b1f552b08 Half History Max lucasart 2014-11-17 07:04:58 +08:00
  • 4840643fed Use DEPTH_MAX instead of MAX_PLY Marco Costalba 2014-11-15 05:36:49 +01:00
  • 4739037f96 100% accurate PV display Gary Linscott 2014-11-12 16:13:55 -05:00
  • 234344500f Use quiet ttMove in qsearch() (7962287) lucasart 2014-11-10 19:14:16 +08:00
  • b777b17f6f Use if/else instead of goto Marco Costalba 2014-11-10 14:46:05 +01:00
  • db4b8ee000 Use Depth instead of int in search Marco Costalba 2014-11-10 15:09:36 +01:00
  • c6d45c60b5 Profile Build with Hash=16 lucasart 2014-11-10 18:49:13 +08:00
  • d709a5f1c5 Fix bounds of FutilityMoveCounts lucasart 2014-11-09 08:45:27 +08:00
  • 1b0df1ae14 Retire pvMove in search() Marco Costalba 2014-11-08 11:39:38 +01:00
  • 57fdfdedcf Assorted code-style triviality Marco Costalba 2014-11-09 09:24:06 +01:00
  • 6fb0a1bc40 Introduce distance() and unify some API Marco Costalba 2014-11-08 14:04:14 +01:00
  • 8631b08d97 Codestyle massage Search::init() lucasart 2014-11-08 10:56:51 -05:00
  • 3d2aab11d8 Be more optimistic in aspiration window lucasart 2014-11-08 10:47:56 -05:00
  • 7ebb872409 Prune ttMove like any other lucasart 2014-11-07 21:40:24 +00:00
  • 375797d51c Retire CACHE_LINE_ALIGNMENT lucasart 2014-11-07 14:26:23 -05:00
  • 8e98bd616e Apply King Safety later in the endgame lucasart 2014-11-06 13:00:07 -05:00
  • bc83515c9e Removing some superfluous extern declarations mstembera 2014-11-01 22:10:31 -07:00
  • bcbab19376 Assume UCI 'nodes' is int64_t instead of int Marco Costalba 2014-10-30 12:11:20 +01:00
  • d29a68f585 Rearrange check_time() Marco Costalba 2014-10-18 07:44:08 +02:00
  • 0608d6aaec Add bonuses for each threat instead of max threat value. Ajith 2014-11-04 23:40:37 +08:00
  • 2fd075d1ea Optimize TranspositionTable::store() and TranspositionTable::probe() for speed. mstembera 2014-10-31 22:48:19 -07:00
  • d12378497c Do not assume that enum are signed lucasart 2014-11-04 00:35:02 +08:00
  • 8ab9c2511a Cleanup MAX_PLY lucasart 2014-11-03 23:36:24 +08:00
  • fc0733087a Restore std::dec after std::hex Marco Costalba 2014-11-02 08:03:52 +01:00
  • 42a20920e5 Retire ScalePawnSpan[] Marco Costalba 2014-11-01 22:18:15 +01:00
  • 79fa72f392 Merge pull request #89 from official-stockfish/pull_no_pretty Marco Costalba 2014-11-01 22:24:33 +01:00
  • d3091971b7 Retire PawnsFileSpan Marco Costalba 2014-11-01 18:15:07 +01:00
  • d9caede324 Correctly describe POPCNT compile lucasart 2014-11-01 20:43:57 +00:00
  • 8a7876d48d Consistent use of anonymous namespace lucasart 2014-11-01 20:35:10 +00:00
  • 2ee1250294 Remove dead code lucasart 2014-11-01 20:16:29 +00:00
  • 5644e14d0e Prefer operator<<() to pretty() Marco Costalba 2014-11-01 18:50:27 +01:00
  • d07a875398 Merge pull request #82 from official-stockfish/clean_up_bishop_code Marco Costalba 2014-11-01 18:05:03 +01:00
  • 460892382a Code style clean-up Marco Costalba 2014-10-30 12:32:43 +01:00
  • 5605cc7684 max_piece_type cleanup, and slight speed increase. mstembera 2014-10-28 22:23:01 +08:00
  • 7d42752158 A small clean up of previous patch suggested by Marco Joona Kiiski 2014-10-27 20:14:58 +00:00
  • fefb27bab4 Speed up max_piece_type() Joona Kiiski 2014-10-27 14:05:24 +00:00
  • 7de40076ac Tune PawnsFileSpan snicolet 2014-10-27 00:08:56 +01:00
  • f1359845de Improve compatibility with Shredder Classic GUI Pascal Romaret 2014-10-27 11:07:35 +00:00
  • 5ab55827b8 Fix an obscure gcc warning Marco Costalba 2014-10-26 08:14:36 +01:00
  • 9ba391c5cb Retire notation.cpp Marco Costalba 2014-10-26 07:50:09 +01:00
  • 2469daebb1 Final UCI helpers renaming Marco Costalba 2014-10-26 07:41:25 +01:00
  • aa60c80ade Retire notation.h Marco Costalba 2014-10-26 07:16:16 +01:00
  • 5cbcff55cc Rename ucioption.h to uci.h Marco Costalba 2014-10-26 07:09:19 +01:00
  • 428962a2e8 Retire to_char() helpers Marco Costalba 2014-10-26 06:52:30 +01:00
  • 4f6b1bf3be Reformat max_threat() Marco Costalba 2014-10-25 07:03:42 +02:00
  • 8d62ece945 Calculate maximum threat for hanging pieces snicolet 2014-10-24 01:10:11 +08:00
  • 480682b670 Document why initing eval tables Marco Costalba 2014-10-13 09:23:21 +02:00
  • 89d9db2979 Rename Tracing methods Marco Costalba 2014-10-11 09:52:16 +02:00
  • 907f912463 Account for Tempo in do_evaluate() Marco Costalba 2014-10-11 09:05:47 +02:00
  • c97b702f4d Fix some warnings with Intel C++ compiler Marco Costalba 2014-10-05 10:53:31 +02:00
  • 91de6b0f37 Further streamline connected pawn evaluation lucasart 2014-10-12 20:03:49 +01:00
  • 069073ea68 Merge Connected and Candidate lucasart 2014-10-06 19:26:30 +08:00
  • 15e2191111 Remove the now redundant TT prefetch call from Position::do_move. joergoster 2014-10-06 23:59:04 +08:00
  • 8a9b9ec96a Simplify futility move count array formula Luca Brivio 2014-10-05 12:49:18 +01:00
  • 74829342ef Reformat and rename hash_after_move() Marco Costalba 2014-10-04 06:07:55 +02:00
  • 4b926f227d Extend King Threats to all pieces (other than pawns). Ajith 2014-10-04 03:54:12 +08:00
  • 82d065b011 Speculative prefetch joergoster 2014-10-02 22:19:14 +01:00
  • e60cdca9b0 Convert TT depth to int8_t lucasart 2014-10-01 20:51:32 +01:00
  • a1b62d68ec Trivial code style fixes Marco Costalba 2014-09-30 09:05:20 +02:00
  • 222f59b9c1 Move ONE_PLY to be 1 instead of 2: search() Marco Costalba 2014-09-29 14:08:56 +02:00
  • 27a1877299 Clean up VALUE_KNOWN_WIN conditions lucasart 2014-09-28 17:45:49 +01:00
  • ea9c424bba Remove use of half-ply reductions from LMR, Null-move, IID and Singular extensions. Uri Blass 2014-09-28 04:33:28 +08:00
  • 7ed15af371 Cap evaluation based null move extra reduction to three plies Joona Kiiski 2014-09-25 20:42:25 +01:00
  • d6613b7589 Change history reduction in LMR to be a full ply. Uri Blass 2014-09-26 02:22:39 +08:00
  • fed3e752ae Evaluate king safety when no queen is present. uriblass 2014-09-22 01:32:47 +08:00
  • 766fb9c67d Fix spacing. Gary Linscott 2014-09-22 01:27:34 +08:00
  • b652720903 Rearrange evaluation constants definitions Marco Costalba 2014-09-20 10:19:21 +02:00
  • 4d0a6c5a6f Rename time variable to reflect UCI parameters Marco Costalba 2014-09-18 15:44:38 +02:00
  • 2eec710318 King-pawn threat bonus for endgames. mbootsector 2014-09-19 22:33:42 +08:00
  • aa10d0aaa6 Rename "Contempt Factor" to "Contempt" Marco Costalba 2014-09-08 15:44:25 +02:00
  • ff480bdb83 Retire struct Log Marco Costalba 2014-09-14 10:06:36 +02:00
  • b66552fc27 Simplify Time Management UCI options lucasart 2014-09-15 20:24:51 +01:00
  • cd065dd584 Small tweak to idle_loop() Marco Costalba 2014-08-29 14:59:32 +02:00
  • 95b24083fb Simplify idle_loop() Joona Kiiski 2014-08-30 21:03:41 +01:00
  • 877313a413 Retire Search Log lucasart 2014-08-24 16:28:51 +01:00
  • 8b8885ab07 Fix perft 1 Marco Costalba 2014-08-09 11:33:02 +02:00
  • a903ed07e0 Retire move_to_san() lucasart 2014-08-10 07:22:55 +08:00
  • 880e3cd7c8 Move to_char() and to_string() to notation Where they better belong. lucasart 2014-08-09 13:11:36 +08:00
  • a67c22611a Rework perft implementation Marco Costalba 2014-08-08 10:59:28 +02:00
  • 2efeded6e3 Write perft(N-1) into cout So that one can redirect cout to /dev/null and only print print cerr in the terminal (for more accurate speed tests). lucasart 2014-08-07 21:07:57 +08:00
  • 6044f25d71 Fix Hash in bench The compiler tries to cast Options["Hash"] into a string, using: lucasart 2014-08-07 18:51:07 +08:00
  • 9da015517c Remove insufficient material rule The eval already returns zero in KK, KBK, KNK (see material.cpp). The difference is: - we lose the "TB pruning" benefit of the draw rule (ie. search goes on even if eval is zero) - we gain some speed by removing a useless test from the hot path joergoster 2014-08-06 18:36:04 +08:00
  • 888a1d3445 Remove useless code in Position::pretty() First, remove some dead code (function never called with a Move argument). lucasart 2014-08-06 07:04:27 +08:00
  • 8b88ca9017 Reduce minimum memory requirement by 16MB Stockfish allocates the default hash (32MB) in main(), before entering UCI::loop(). If there is not enough memory, the program will crash even before UCI::loop() is entered and the GUI is given a change to specify a lower Hash value. lucasart 2014-08-05 11:42:48 +08:00
  • 94fe366779 Default Hash defined in a single place Instead of defining it both in ucioption.cpp and benchmark.cpp. Obviously changing the default Hash will change the bench as a result. lucasart 2014-08-05 11:39:50 +08:00
  • 535f70088e Retire divide command The main purpose of perft is to help debugging. But without the breakdown in sum of perft(N-1), it is a completely useless debugging tool. lucasart 2014-08-04 13:54:09 +08:00
  • 1b69910865 Ensure printing UCI info in multi-pv case Marco Costalba 2014-08-02 11:02:13 +02:00
  • 29451de874 Correct bench timing Oskar Werkelin Ahlin 2014-08-01 19:32:53 +08:00
  • 5adc678628 Document Threat[] indices From Marco's repo. lucasart 2014-07-29 07:05:12 +08:00
  • f2053ba19f Fix a warning with MSVC 2010 Marco Costalba 2014-07-26 16:01:09 +02:00
  • 68171ecaca Small code style reformatting David Zar 2014-07-27 17:27:53 +03:00