Commit Graph

  • 72c7595f8a Fix a warning under Intel compiler in square.h Marco Costalba 2009-04-12 17:58:30 +02:00
  • e38ad4d42b Fix a very nasty conversion bug in Option c'tor Marco Costalba 2009-04-12 01:09:03 +01:00
  • fad772f387 Store UCI options of type CHECK according to C++ convention Marco Costalba 2009-04-11 14:04:33 +02:00
  • ebb0f31928 Restore original UCI option printing order Marco Costalba 2009-04-11 13:28:51 +02:00
  • f0701e2b0f Use a map instead of a vector to store UCI options Marco Costalba 2009-04-11 12:46:47 +02:00
  • 95aadb5e53 Remove unused currentMoveCaptureValue from search stack Marco Costalba 2009-04-07 09:54:32 +02:00
  • 17ef886fc3 Less aggressive null move dynamic reduction Marco Costalba 2009-04-10 09:49:29 +01:00
  • 8590a6f3b7 Revert dynamic LMR Marco Costalba 2009-04-03 20:34:22 +01:00
  • 7b05b83bf2 Fix compile in the debug mode Marco Costalba 2009-03-30 12:12:52 +02:00
  • d7ef09727a Silence idiotic warning on two's complement of an unsigned Marco Costalba 2009-03-30 12:07:45 +02:00
  • 683595fee1 Silence a bunch of warnings under MSVC /W4 Marco Costalba 2009-03-30 11:55:13 +02:00
  • 659c54582d Revert setting a flag when TT value equals static evaluation Strangely enough it seems that optimization doesn't work. Marco Costalba 2009-03-31 14:57:44 +02:00
  • 2c0cd95ecf An VALUE_TYPE_EVAL score cannot overwrite an entry Marco Costalba 2009-03-30 09:09:27 +01:00
  • 6a8e46d53e Remember when TT value equals static evaluation value Marco Costalba 2009-03-30 08:54:09 +01:00
  • c6c4713ab2 Document TTEntry and move layouts Marco Costalba 2009-03-30 08:29:02 +01:00
  • 9e44a6dba9 A move needs 17 bits not 19 Marco Costalba 2009-03-29 17:22:10 +01:00
  • 941f4e1643 Remove some obsolete code in movepick.cpp Marco Costalba 2009-03-27 19:18:21 +01:00
  • dcdac83187 Revert storing of TT when returning from "stand pat" Marco Costalba 2009-03-27 15:30:45 +01:00
  • 5a0581498c Cache evaluation score in qsearch Marco Costalba 2009-03-24 15:48:14 +01:00
  • 1c087dd806 Let to toggle dynamic LMR Marco Costalba 2009-03-24 14:34:46 +01:00
  • 095a96b461 In qsearch update TT only if returning from stand pat Marco Costalba 2009-03-24 11:26:43 +01:00
  • 72af519e7f When asked for position key print it as an hex value Marco Costalba 2009-03-24 10:50:13 +01:00
  • db46602b1f Wait at least until iteration 3 before to stop the search Marco Costalba 2009-03-24 10:49:02 +01:00
  • d3f99aea6b Let zobrist keys to be compatible with Glaurung 1 Marco Costalba 2009-03-24 10:40:22 +01:00
  • 0e835bd334 Fixed a sliding attack bitboard bug in 32-bit mode Marco Costalba 2009-03-24 10:30:27 +01:00
  • 43276cbec5 Fix a bug in insert_pv() where minimum depth is zero Marco Costalba 2009-03-23 15:30:20 +01:00
  • a9e55d4326 Revert odd depths razoring I have just made a new rule that no modification that increases pruning is allowed if after 1000 games ELO is not increased by at least 10 point (was +5 in this case) Marco Costalba 2009-03-23 12:02:15 +01:00
  • 4d70e3aeac More aggressive dynamic LMR Marco Costalba 2009-03-23 11:58:28 +01:00
  • 24b7ad54c7 LMR dynamic reduction Marco Costalba 2009-03-20 12:33:30 +01:00
  • 0ff3bf34cd Always print a best move when requested Marco Costalba 2009-03-22 14:49:18 +01:00
  • 66d165921d Better castle move detector in move_to_san() Marco Costalba 2009-03-22 14:32:00 +01:00
  • b82c3021fa Fix a smal bug in Position::from_fen Marco Costalba 2009-03-22 14:18:25 +01:00
  • 320630ca1a Merge new pawn storm evaluation Marco Costalba 2009-03-22 13:55:08 +01:00
  • ef8acdc73b Fix a small bug in king safety Marco Costalba 2009-03-22 13:11:24 +01:00
  • cc8e915ed5 Merge KBPP vs KB endgame from iPhone Glaurung Marco Costalba 2009-03-22 13:06:29 +01:00
  • 16abc165d8 Fix: In qsearch do not use TT value when in a PV node Marco Costalba 2009-03-21 14:51:31 +01:00
  • 74160ac602 Big headers cleanup Marco Costalba 2009-03-18 15:36:03 +01:00
  • feb5342b39 Safe guard some wild and ugly casts Marco Costalba 2009-03-16 13:59:41 +01:00
  • 6cddf9183c Partially revert pawns storm bug fix Marco Costalba 2009-03-16 08:02:33 +01:00
  • b870f5a091 Silence a good bunch of Intel warnings Marco Costalba 2009-03-15 18:07:28 +01:00
  • fcecc5212e Fix an overflow bug in pawns stormValue Marco Costalba 2009-03-15 18:06:40 +01:00
  • 8de91be61e Fix a silly warning on Intel compiler Marco Costalba 2009-03-15 17:02:09 +01:00
  • ca4e78db8d Revert NULL move beta corrections After testing result is bad -25 ELO Marco Costalba 2009-03-15 16:44:12 +01:00
  • bfcfaf7101 Retire Null Driven IID Marco Costalba 2009-03-13 15:39:22 +01:00
  • c8773c720a Merge Joona Kiiski NULL search beta correction Marco Costalba 2009-03-13 15:26:02 +01:00
  • 3ed603cd64 Merge Joona Kiiski evaluation tweaks Marco Costalba 2009-03-13 11:20:24 +01:00
  • f637ddc1e8 Micro optimize move_is_check() Marco Costalba 2009-03-07 20:38:05 +01:00
  • 964bd86272 Micro optimize pl_move_is_legal() Marco Costalba 2009-03-07 20:08:45 +01:00
  • 72b88e09e1 Micro optimize previous patch Marco Costalba 2009-03-06 20:39:43 +01:00
  • 3e663d8c50 Introduce evaluate_pieces<>() to remove redundancy Marco Costalba 2009-03-06 16:29:46 +01:00
  • 8c9c51c721 Fix compile error with inlines under gcc and Intel Marco Costalba 2009-03-04 23:11:23 +01:00
  • 7fe1632a49 Fix some comments in position.cpp Marco Costalba 2009-03-04 16:34:04 +01:00
  • 7c84b39a42 Avoid to call useless sliders attacks in update_checkers() Marco Costalba 2009-03-04 14:50:39 +01:00
  • 68e711aac6 Super fast hidden_checkers() Marco Costalba 2009-03-04 12:04:28 +01:00
  • 02cd96e4c2 Cleanup SearchStack initialization Marco Costalba 2009-03-03 11:17:43 +01:00
  • 772a37cd54 Micro optimize copy of new state in do_move() Marco Costalba 2009-03-02 17:32:30 +01:00
  • c02613860a Revert hidden checkers rework Marco Costalba 2009-03-02 16:20:00 +01:00
  • 9b6b9e67fe Use checker info to remove a bunch of hidden checks updates Marco Costalba 2009-02-28 16:49:50 +01:00
  • 6a8cfe79da Stricter condition to check for dc candidates Marco Costalba 2009-02-28 13:43:49 +01:00
  • 1f97b48a31 Split calculation of pinners from dc candidates Marco Costalba 2009-02-28 10:20:57 +01:00
  • a96cba0ec8 Slightly better condition in update_hidden_checks() Marco Costalba 2009-02-28 09:42:52 +01:00
  • f9f30412e7 Compute pinned and friends incrementally Marco Costalba 2009-02-28 09:18:29 +01:00
  • 55f9afee2a Fix a subtle bug due to the StateInfo pointer became stale Marco Costalba 2009-02-23 18:46:33 +01:00
  • 962216440c Teach SEE about pinned pieces Marco Costalba 2009-02-23 15:19:51 +01:00
  • 243fa483d7 Small Position::clear() cleanup Marco Costalba 2009-02-23 12:48:57 +01:00
  • da7a62852a Do not copy the whole old state in do_move() Marco Costalba 2009-02-23 12:06:06 +01:00
  • 0bf45823da Update pinned bitboards and friends in do_move() Marco Costalba 2009-02-23 11:37:31 +01:00
  • 4324276419 Fix some asserts unhidden by a debug compile Marco Costalba 2009-02-23 00:21:11 +01:00
  • 43bc5479c2 Avoid resetting pinners[c] Marco Costalba 2009-02-22 21:06:52 +01:00
  • 8f59de48f5 Introduce StateInfo instead of UndoInfo Marco Costalba 2009-02-22 20:16:21 +01:00
  • 2f6c5f00e6 Wrap state variables in a named struct Marco Costalba 2009-02-22 18:31:24 +01:00
  • 2f21ec39ad Convert also undo_null_move() to avoid passing UndoInfo object Marco Costalba 2009-02-22 18:03:23 +01:00
  • 9b257ba29d Passing UndoInfo is not needed anymore when undoing the move Marco Costalba 2009-02-22 17:49:52 +01:00
  • 1b0fee9b17 Remove two useless calls to pinned_pieces() Marco Costalba 2009-02-21 19:59:29 +01:00
  • b7cb6180cf Position: Unify and templetize mg_pst() and eg_pst() Marco Costalba 2009-02-20 12:21:52 +01:00
  • f30aa83f8a Unify compute_mg_value() and compute_eg_value() Marco Costalba 2009-02-20 12:05:07 +01:00
  • 1dc27f3232 Use a union to fast and simply backup info in do_move() Marco Costalba 2009-02-20 11:13:19 +01:00
  • 95cfc0e306 In Position backup and restore contiguous data Marco Costalba 2009-02-20 10:20:08 +01:00
  • 9e1d142fdd Finally remove any occurence of dcCandidates from search.cpp Marco Costalba 2009-02-19 17:35:23 +01:00
  • 683e6dc656 Do not pass discovery check candidates in Position::do_move() Marco Costalba 2009-02-19 17:29:36 +01:00
  • c6630abe0d Do not pass pinned argument in Position::move_is_check() Marco Costalba 2009-02-19 17:01:08 +01:00
  • 734941672e Do not pass pinned argument in Position::pl_move_is_legal() Marco Costalba 2009-02-19 16:48:57 +01:00
  • 0a0ea36e25 Cleanup pinned and friends in movegen.cpp Marco Costalba 2009-02-19 16:37:03 +01:00
  • 5f142ec209 Cache pinned and discovery check bitboards Marco Costalba 2009-02-19 16:28:35 +01:00
  • 7f4f18f959 Revert mobility of pinned pieces for now We will redo after rewriting the handling of pinned bitboard and its friends. Marco Costalba 2009-02-19 15:49:54 +01:00
  • c45818e9f8 Remove xxx_of_color() for real Marco Costalba 2009-02-17 17:26:15 +01:00
  • 7013efce4e Change piece_attacks_square() API Marco Costalba 2009-02-17 12:00:05 +01:00
  • 9f5b709db7 Mobility is zero for a pinned piece Marco Costalba 2009-02-17 11:29:14 +01:00
  • 2c955f25de Remove xxx_of_color() helpers Marco Costalba 2009-02-17 10:54:47 +01:00
  • f32992f88c Avoid a call to move_is_capture() in extension() Marco Costalba 2009-02-13 20:21:05 +01:00
  • e71d520758 Add scan for X-ray attacks in piece_attacks_square() Marco Costalba 2009-02-13 15:29:24 +01:00
  • 52ed0e9563 Fix a subtle bug in Position::move_is_capture() Marco Costalba 2009-02-13 14:17:39 +01:00
  • 30e8f0c9ad Do not manually build endgame functions hash keys Marco Costalba 2009-02-13 10:00:47 +01:00
  • 67375f4693 Use template for endgame scaling functions Marco Costalba 2009-02-12 14:59:46 +01:00
  • 039badfda8 Use templates for end game evaluation functions Marco Costalba 2009-02-12 13:20:22 +01:00
  • 088ecc242f Small code formatting in position.cpp Marco Costalba 2009-02-12 12:43:14 +01:00
  • a188a047ab Use update_checkers<>() also for PAWN Marco Costalba 2009-02-12 12:26:23 +01:00
  • 1d2247aea3 Introduce update_checkers() to simplify do_move() Marco Costalba 2009-02-12 12:12:46 +01:00
  • 8365f8ac1e Remove square_is_attacked() Marco Costalba 2009-02-12 09:53:37 +01:00
  • 68d36b6f59 Rename generate_piece_blocking_evasions() Marco Costalba 2009-02-12 09:28:18 +01:00